diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-10 16:25:42 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-07-12 07:19:43 -0700 |
commit | 40716b97d84d96bb13dc7f46afbdbf36b511be84 (patch) | |
tree | 510f97c66081a816c42845427247dada46ed992a /meta-oe/recipes-devtools | |
parent | 63299b239116a70ce4b09dc925c5eaebb63a3052 (diff) | |
download | meta-openembedded-40716b97d84d96bb13dc7f46afbdbf36b511be84.tar.gz |
php: actually enable openssl
The PHP recipe depends on OpenSSL but support is disabled unless you pass
--with-openssl. Add a PACKAGECONFIG for openssl and enable it by default.
Also for clarity pass --enable-opcache when the opcache is enabled.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 066b97cd26..9eacabe03e 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
@@ -5,8 +5,7 @@ SECTION = "console/network" | |||
5 | LICENSE = "PHP-3.0" | 5 | LICENSE = "PHP-3.0" |
6 | 6 | ||
7 | BBCLASSEXTEND = "native" | 7 | BBCLASSEXTEND = "native" |
8 | DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native \ | 8 | DEPENDS = "zlib bzip2 libxml2 virtual/libiconv php-native lemon-native" |
9 | openssl" | ||
10 | DEPENDS_class-native = "zlib-native libxml2-native" | 9 | DEPENDS_class-native = "zlib-native libxml2-native" |
11 | 10 | ||
12 | PHP_MAJOR_VERSION = "${@d.getVar('PV', True).split('.')[0]}" | 11 | PHP_MAJOR_VERSION = "${@d.getVar('PV', True).split('.')[0]}" |
@@ -67,7 +66,7 @@ EXTRA_OECONF_class-native = " \ | |||
67 | ${COMMON_EXTRA_OECONF} \ | 66 | ${COMMON_EXTRA_OECONF} \ |
68 | " | 67 | " |
69 | 68 | ||
70 | PACKAGECONFIG ??= "mysql sqlite3 imap opcache \ | 69 | PACKAGECONFIG ??= "mysql sqlite3 imap opcache openssl \ |
71 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ | 70 | ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} \ |
72 | " | 71 | " |
73 | PACKAGECONFIG_class-native = "" | 72 | PACKAGECONFIG_class-native = "" |
@@ -91,7 +90,8 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \ | |||
91 | ,--without-imap --without-imap-ssl \ | 90 | ,--without-imap --without-imap-ssl \ |
92 | ,uw-imap" | 91 | ,uw-imap" |
93 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 92 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
94 | PACKAGECONFIG[opcache] = ",--disable-opcache" | 93 | PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache" |
94 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" | ||
95 | 95 | ||
96 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" | 96 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" |
97 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" | 97 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" |