diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-09-10 13:02:40 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-10 06:54:01 -0700 |
commit | c943bc5ea90d626a7b0fa6b6334187f156030748 (patch) | |
tree | 9c7c6f0ed3d93c5aa253dde493b916309f78014f | |
parent | 7c9881e254e3cdacbdcee2949e633d13d5f16d0c (diff) | |
download | meta-openembedded-c943bc5ea90d626a7b0fa6b6334187f156030748.tar.gz |
php: Move more into php.inc after php5 removal
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 10 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/php/php_7.3.9.bb | 8 |
2 files changed, 5 insertions, 13 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index d55b88464..3d537e5b6 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
@@ -74,10 +74,9 @@ PACKAGECONFIG_class-native = "" | |||
74 | 74 | ||
75 | PACKAGECONFIG[zip] = "--enable-zip --with-libzip=${STAGING_EXECPREFIXDIR},,libzip" | 75 | PACKAGECONFIG[zip] = "--enable-zip --with-libzip=${STAGING_EXECPREFIXDIR},,libzip" |
76 | 76 | ||
77 | PACKAGECONFIG[mysql] = "--with-mysql=${STAGING_DIR_TARGET}${prefix} \ | 77 | PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \ |
78 | --with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config \ | 78 | --with-pdo-mysql=mysqlnd \ |
79 | --with-pdo-mysql=${STAGING_BINDIR_CROSS}/mysql_config \ | 79 | ,--without-mysqli --without-pdo-mysql \ |
80 | ,--without-mysql --without-mysqli --without-pdo-mysql \ | ||
81 | ,mysql5" | 80 | ,mysql5" |
82 | 81 | ||
83 | PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \ | 82 | PACKAGECONFIG[sqlite3] = "--with-sqlite3=${STAGING_LIBDIR}/.. \ |
@@ -95,6 +94,7 @@ PACKAGECONFIG[imap] = "--with-imap=${STAGING_DIR_HOST} \ | |||
95 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 94 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
96 | PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache" | 95 | PACKAGECONFIG[opcache] = "--enable-opcache,--disable-opcache" |
97 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" | 96 | PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" |
97 | PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind" | ||
98 | 98 | ||
99 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" | 99 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" |
100 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" | 100 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" |
@@ -216,7 +216,7 @@ FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc" | |||
216 | FILES_${PN}-cli = "${bindir}/php" | 216 | FILES_${PN}-cli = "${bindir}/php" |
217 | FILES_${PN}-phar = "${bindir}/phar*" | 217 | FILES_${PN}-phar = "${bindir}/phar*" |
218 | FILES_${PN}-cgi = "${bindir}/php-cgi" | 218 | FILES_${PN}-cgi = "${bindir}/php-cgi" |
219 | FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf ${datadir}/fpm ${sysconfdir}/init.d/php-fpm ${systemd_unitdir}/system/php-fpm.service" | 219 | FILES_${PN}-fpm = "${sbindir}/php-fpm ${sysconfdir}/php-fpm.conf ${datadir}/fpm ${sysconfdir}/init.d/php-fpm ${systemd_unitdir}/system/php-fpm.service ${sysconfdir}/php-fpm.d/www.conf.default" |
220 | FILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" | 220 | FILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" |
221 | CONFFILES_${PN}-fpm = "${sysconfdir}/php-fpm.conf" | 221 | CONFFILES_${PN}-fpm = "${sysconfdir}/php-fpm.conf" |
222 | CONFFILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" | 222 | CONFFILES_${PN}-fpm-apache2 = "${sysconfdir}/apache2/conf.d/php-fpm.conf" |
diff --git a/meta-oe/recipes-devtools/php/php_7.3.9.bb b/meta-oe/recipes-devtools/php/php_7.3.9.bb index 4d656da0f..23ab7ca8e 100644 --- a/meta-oe/recipes-devtools/php/php_7.3.9.bb +++ b/meta-oe/recipes-devtools/php/php_7.3.9.bb | |||
@@ -17,11 +17,3 @@ SRC_URI_append_class-target = " \ | |||
17 | 17 | ||
18 | SRC_URI[md5sum] = "bcc37749815009c9201e4c126e1ab8ee" | 18 | SRC_URI[md5sum] = "bcc37749815009c9201e4c126e1ab8ee" |
19 | SRC_URI[sha256sum] = "a39c9709a8c9eb7ea8ac4933ef7a78b92f7e5735a405c8b8e42ee39541d963c4" | 19 | SRC_URI[sha256sum] = "a39c9709a8c9eb7ea8ac4933ef7a78b92f7e5735a405c8b8e42ee39541d963c4" |
20 | |||
21 | PACKAGECONFIG[mysql] = "--with-mysqli=mysqlnd \ | ||
22 | --with-pdo-mysql=mysqlnd \ | ||
23 | ,--without-mysqli --without-pdo-mysql \ | ||
24 | ,mysql5" | ||
25 | PACKAGECONFIG[valgrind] = "--with-valgrind=${STAGING_DIR_TARGET}/usr,--with-valgrind=no,valgrind" | ||
26 | |||
27 | FILES_${PN}-fpm += "${sysconfdir}/php-fpm.d/www.conf.default" | ||