aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-24 17:07:01 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-09-05 13:30:49 +0200
commita37ad37a615c19753854bff59c82328459828540 (patch)
tree6fef0f5ecc1ca86184f77f0fc6f2b36f5fd1c69d
parent07539fb9cd7a83bdbb37f1c785eb4c4c1ce7908a (diff)
downloadmeta-openembedded-a37ad37a615c19753854bff59c82328459828540.tar.gz
meta-openembedded-a37ad37a615c19753854bff59c82328459828540.tar.bz2
meta-openembedded-a37ad37a615c19753854bff59c82328459828540.zip
php: 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-oe/recipes-devtools/php/php.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 9d21c54fc..cd919403e 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -70,7 +70,9 @@ EXTRA_OECONF_class-native = " \
"
PACKAGECONFIG ??= "mysql sqlite3 imap \
- ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
+ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \
+"
PACKAGECONFIG_class-native = ""
PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \
@@ -91,6 +93,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \
--with-imap-ssl=${STAGING_DIR_HOST} \
,--without-imap --without-imap-ssl \
,uw-imap"
+PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"