summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-22 17:06:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-03 23:45:45 +0100
commitd7b2afd41d650e30a4a1fc453cae3ab060a7da57 (patch)
treefdb4856cb51343809195f4ac73f5451a4f4c77a4
parent87498d742ffaa1e2307ac802e508c8572253a568 (diff)
downloadopenembedded-core-d7b2afd41d650e30a4a1fc453cae3ab060a7da57.tar.gz
openembedded-core-d7b2afd41d650e30a4a1fc453cae3ab060a7da57.tar.bz2
openembedded-core-d7b2afd41d650e30a4a1fc453cae3ab060a7da57.zip
lighttpd: control ipv6 support based on DISTRO_FEATURES
Add PACKAGECONFIG for ipv6 and control it based on DISTRO_FEATURES. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/lighttpd/lighttpd_1.4.41.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-extended/lighttpd/lighttpd_1.4.41.bb b/meta/recipes-extended/lighttpd/lighttpd_1.4.41.bb
index a74d3a15b7..bba90cf300 100644
--- a/meta/recipes-extended/lighttpd/lighttpd_1.4.41.bb
+++ b/meta/recipes-extended/lighttpd/lighttpd_1.4.41.bb
@@ -26,8 +26,11 @@ SRC_URI = "http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${PV}.t
SRC_URI[md5sum] = "1df2e4dbc965cfe6f99f008ac3db4d8d"
SRC_URI[sha256sum] = "4bcc383ef6d6dc7b284f68882d71a178e2986c83c4e85eeb3c8f3b882e346b6c"
-PACKAGECONFIG ??= "openssl"
+PACKAGECONFIG ??= "openssl \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
+"
PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
EXTRA_OECONF = " \
--without-bzip2 \