summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-09-06 06:38:39 +0800
committerKhem Raj <raj.khem@gmail.com>2019-09-05 18:13:44 -0700
commit99bb172561b72d11b6b0efc3bb5a9d915f9763f8 (patch)
tree7ffbd4f9894d7de98cc56a4b82049a20f4c61c3c /meta-oe/recipes-devtools/php
parent7cd67125aaeaea9604bf4aae600054ec9e8bfaac (diff)
downloadmeta-openembedded-99bb172561b72d11b6b0efc3bb5a9d915f9763f8.tar.gz
php: sync with apache2's change
It redefines apache2's libexecdir. Update php to sync with that change. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/php')
-rw-r--r--meta-oe/recipes-devtools/php/php.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index 4c0617c49..d738d2d93 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -172,10 +172,8 @@ do_install_append_class-target() {
172 done 172 done
173 173
174 if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then 174 if ${@bb.utils.contains('PACKAGECONFIG', 'apache2', 'true', 'false', d)}; then
175 install -d ${D}${libdir}/apache2/modules
176 install -d ${D}${sysconfdir}/apache2/modules.d 175 install -d ${D}${sysconfdir}/apache2/modules.d
177 install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION} 176 install -d ${D}${sysconfdir}/php/apache2-php${PHP_MAJOR_VERSION}
178 install -m 755 libs/libphp${PHP_MAJOR_VERSION}.so ${D}${libdir}/apache2/modules
179 install -m 644 ${WORKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d 177 install -m 644 ${WORKDIR}/70_mod_php${PHP_MAJOR_VERSION}.conf ${D}${sysconfdir}/apache2/modules.d
180 sed -i s,lib/,${libdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf 178 sed -i s,lib/,${libdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php${PHP_MAJOR_VERSION}.conf
181 cat ${S}/php.ini-production | \ 179 cat ${S}/php.ini-production | \
@@ -211,7 +209,7 @@ INITSCRIPT_PACKAGES = "${PN}-fpm"
211inherit update-rc.d 209inherit update-rc.d
212 210
213FILES_${PN}-dbg =+ "${bindir}/.debug \ 211FILES_${PN}-dbg =+ "${bindir}/.debug \
214 ${libdir}/apache2/modules/.debug" 212 ${libexecdir}/apache2/modules/.debug"
215FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc" 213FILES_${PN}-doc += "${PHP_LIBDIR}/php/doc"
216FILES_${PN}-cli = "${bindir}/php" 214FILES_${PN}-cli = "${bindir}/php"
217FILES_${PN}-phar = "${bindir}/phar*" 215FILES_${PN}-phar = "${bindir}/phar*"
@@ -237,7 +235,7 @@ FILES_${PN}-dev = "${includedir}/php ${PHP_LIBDIR}/build ${bindir}/phpize \
237FILES_${PN}-staticdev += "${PHP_LIBDIR}/extensions/*/*.a" 235FILES_${PN}-staticdev += "${PHP_LIBDIR}/extensions/*/*.a"
238FILES_${PN}-opcache = "${PHP_LIBDIR}/extensions/*/opcache${SOLIBSDEV}" 236FILES_${PN}-opcache = "${PHP_LIBDIR}/extensions/*/opcache${SOLIBSDEV}"
239FILES_${PN} = "${PHP_LIBDIR}/php" 237FILES_${PN} = "${PHP_LIBDIR}/php"
240FILES_${PN} += "${bindir}" 238FILES_${PN} += "${bindir} ${libexecdir}/apache2"
241 239
242SUMMARY_${PN}-modphp = "PHP module for the Apache HTTP server" 240SUMMARY_${PN}-modphp = "PHP module for the Apache HTTP server"
243FILES_${PN}-modphp = "${libdir}/apache2 ${sysconfdir}" 241FILES_${PN}-modphp = "${libdir}/apache2 ${sysconfdir}"