[oe-commits] Joe Slater : modphp: add phpize to scan for absolute paths

git at git.openembedded.org git at git.openembedded.org
Sun Apr 6 12:28:45 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: a60bf8c73adecf68d048c7725773d0772b22873e
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a60bf8c73adecf68d048c7725773d0772b22873e

Author: Joe Slater <jslater at windriver.com>
Date:   Thu Mar 27 13:38:56 2014 -0700

modphp: add phpize to scan for absolute paths

sstate processing for items in sysroot scans certain
file name patterns for absolute paths to be adjusted
when items are installed into sysroot from sstate.
phpize is not one of these patterns (surprise!) so we
add it to the list.

Signed-off-by: Joe Slater <jslater at windriver.com>

---

 meta-webserver/recipes-php/modphp/modphp5.inc | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc
index aa213e3..d646fd1 100644
--- a/meta-webserver/recipes-php/modphp/modphp5.inc
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc
@@ -92,6 +92,10 @@ php_sysroot_preprocess () {
     sed -i 's!^include_dir=.*!include_dir=${STAGING_INCDIR}/php!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/php-config
 }
 
+# phpize is not scanned for absolute paths by default (but php-config is).
+#
+SSTATE_SCAN_FILES += "phpize"
+
 RDEPENDS_${PN} = "apache2"
 
 FILES_${PN} = "${libdir}/apache2 ${sysconfdir}"



More information about the Openembedded-commits mailing list