diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-12-31 17:33:43 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-01-08 12:04:26 +0100 |
commit | d422f96d46d2f22059d025fa798ec5659893a749 (patch) | |
tree | e4a6f71788901f6aadba74dfed421e31bfee7284 /meta-oe | |
parent | f81961ff20d669e0f472f45b9922d6f62ee0d330 (diff) | |
download | meta-openembedded-d422f96d46d2f22059d025fa798ec5659893a749.tar.gz |
uw-imap: make libpam dependency dependent on DISTRO_FEATURES
If pam is not in DISTRO_FEATURES, we shouldn't be building it.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb index e1a987710..52b689ed6 100644 --- a/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb +++ b/meta-oe/recipes-devtools/uw-imap/uw-imap_2007f.bb | |||
@@ -4,7 +4,7 @@ SECTION = "devel" | |||
4 | LICENSE = "Apache-2.0" | 4 | LICENSE = "Apache-2.0" |
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a6a4ddbb7cd2999f6827ee143f6fcd97" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a6a4ddbb7cd2999f6827ee143f6fcd97" |
6 | 6 | ||
7 | DEPENDS = "openssl libpam" | 7 | DEPENDS = "openssl" |
8 | 8 | ||
9 | SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.gz \ | 9 | SRC_URI = "ftp://ftp.cac.washington.edu/imap/imap-${PV}.tar.gz \ |
10 | file://quote_cctype.patch \ | 10 | file://quote_cctype.patch \ |
@@ -17,13 +17,16 @@ SRC_URI[sha256sum] = "53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520 | |||
17 | 17 | ||
18 | S = "${WORKDIR}/imap-${PV}" | 18 | S = "${WORKDIR}/imap-${PV}" |
19 | 19 | ||
20 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | ||
21 | PACKAGECONFIG[pam] = ",,libpam" | ||
22 | |||
20 | EXTRA_OEMAKE = "CC='${CC}'" | 23 | EXTRA_OEMAKE = "CC='${CC}'" |
21 | 24 | ||
22 | HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h" | 25 | HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage.h c-client/osdep.h" |
23 | 26 | ||
24 | do_compile() { | 27 | do_compile() { |
25 | echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS | 28 | echo "SSLINCLUDE=${STAGING_INCDIR} SSLLIB=${STAGING_LIBDIR}" > ${S}/SPECIALS |
26 | oe_runmake lnp | 29 | oe_runmake ${@bb.utils.contains('PACKAGECONFIG', 'pam', 'lnp', 'slx', d)} |
27 | } | 30 | } |
28 | 31 | ||
29 | do_install() { | 32 | do_install() { |