[oe] [meta-webserver][PATCH] modphp: add phpize to scan for absolute paths

Joe Slater jslater at windriver.com
Thu Mar 27 20:38:56 UTC 2014


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>
---
 recipes-php/modphp/modphp5.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/recipes-php/modphp/modphp5.inc b/recipes-php/modphp/modphp5.inc
index 8bb27c7..33208bd 100644
--- a/recipes-php/modphp/modphp5.inc
+++ b/recipes-php/modphp/modphp5.inc
@@ -93,6 +93,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}"
-- 
1.7.3.4




More information about the Openembedded-devel mailing list