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

login
register
mail settings
Submitter Joe Slater
Date March 27, 2014, 8:38 p.m.
Message ID <1395952736-2793-1-git-send-email-jslater@windriver.com>
Download mbox | patch
Permalink /patch/69479/
State Accepted, archived
Headers show

Comments

Joe Slater - March 27, 2014, 8:38 p.m.
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@windriver.com>
---
 recipes-php/modphp/modphp5.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

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}"