diff options
| author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-24 17:07:01 +0800 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-09-05 13:30:49 +0200 |
| commit | a37ad37a615c19753854bff59c82328459828540 (patch) | |
| tree | 6fef0f5ecc1ca86184f77f0fc6f2b36f5fd1c69d | |
| parent | 07539fb9cd7a83bdbb37f1c785eb4c4c1ce7908a (diff) | |
| download | meta-openembedded-a37ad37a615c19753854bff59c82328459828540.tar.gz | |
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.inc | 5 |
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 9d21c54fce..cd919403eb 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 = " \ | |||
| 70 | " | 70 | " |
| 71 | 71 | ||
| 72 | PACKAGECONFIG ??= "mysql sqlite3 imap \ | 72 | PACKAGECONFIG ??= "mysql sqlite3 imap \ |
| 73 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | 73 | ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
| 74 | ${@bb.utils.contains('DISTRO_FEATURES', 'ipv6', 'ipv6', '', d)} \ | ||
| 75 | " | ||
| 74 | PACKAGECONFIG_class-native = "" | 76 | PACKAGECONFIG_class-native = "" |
| 75 | 77 | ||
| 76 | PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \ | 78 | PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \ |
| @@ -91,6 +93,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \ | |||
| 91 | --with-imap-ssl=${STAGING_DIR_HOST} \ | 93 | --with-imap-ssl=${STAGING_DIR_HOST} \ |
| 92 | ,--without-imap --without-imap-ssl \ | 94 | ,--without-imap --without-imap-ssl \ |
| 93 | ,uw-imap" | 95 | ,uw-imap" |
| 96 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
| 94 | 97 | ||
| 95 | 98 | ||
| 96 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" | 99 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" |
