aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2016-08-24 17:07:01 +0800
committerArmin Kuster <akuster808@gmail.com>2016-09-18 13:11:23 -0700
commit402af09c10e4e811e95d342a0d80c51adac6b805 (patch)
tree255e4b8bb238bff7f8f765c01da8cc592644c691
parente76804ed21dbbd2968efc33696125509537699b2 (diff)
downloadmeta-openembedded-402af09c10e4e811e95d342a0d80c51adac6b805.tar.gz
meta-openembedded-402af09c10e4e811e95d342a0d80c51adac6b805.tar.bz2
meta-openembedded-402af09c10e4e811e95d342a0d80c51adac6b805.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> (cherry picked from commit a37ad37a615c19753854bff59c82328459828540) Signed-off-by: Armin Kuster <akuster808@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 988ae489e..3eb0589cb 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}"