aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-24 17:07:02 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-09-05 13:30:49 +0200
commit20d4b5c2c9111a5453405c7b4f2143c89f7adfd9 (patch)
tree849e6b5feb51efc87c3228e39df4abe792e99e0d
parenta37ad37a615c19753854bff59c82328459828540 (diff)
downloadmeta-openembedded-20d4b5c2c9111a5453405c7b4f2143c89f7adfd9.tar.gz
meta-openembedded-20d4b5c2c9111a5453405c7b4f2143c89f7adfd9.tar.bz2
meta-openembedded-20d4b5c2c9111a5453405c7b4f2143c89f7adfd9.zip
cherokee: 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: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb b/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
index 5287ea42c..82fbb771e 100644
--- a/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
+++ b/meta-webserver/recipes-httpd/cherokee/cherokee_1.2.98.bb
@@ -19,10 +19,11 @@ SRC_URI[sha256sum] = "042b5687b1a3db3ca818167548ce5d32c35e227c6640732dcb622a6f4a
inherit autotools pkgconfig binconfig update-rc.d systemd
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)}"
PACKAGECONFIG[ffmpeg] = "--with-ffmpeg,--without-ffmpeg,libav"
PACKAGECONFIG[ldap] = "--with-ldap,--without-ldap,openldap"
PACKAGECONFIG[geoip] = "--with-geoip,--without-geoip,geoip"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
EXTRA_OECONF = "--disable-static \
--disable-nls \