[oe-commits] Frans Meulenbroeks : php_5.2.13.bb: fixed pathnames in pear.conf

git version control git at git.openembedded.org
Wed Nov 24 20:08:21 UTC 2010


Module: openembedded.git
Branch: release-2010.12
Commit: d3ef7d0bc85905b2057d1b2f7ad744930d01fd6d
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=d3ef7d0bc85905b2057d1b2f7ad744930d01fd6d

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Mon Nov 22 19:46:41 2010 +0100

php_5.2.13.bb: fixed pathnames in pear.conf

pear.conf had some hostnames in it.
Added a sed line to remove STAGING_DIR_NATIVE from the file.

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>

---

 recipes/php/php_5.2.13.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes/php/php_5.2.13.bb b/recipes/php/php_5.2.13.bb
index 5871dca..93e333e 100644
--- a/recipes/php/php_5.2.13.bb
+++ b/recipes/php/php_5.2.13.bb
@@ -3,7 +3,7 @@ require php.inc
 DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \
            libc-client openssl"
 
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI =     "http://museum.php.net/php5/php-${PV}.tar.bz2;name=src \
                file://acinclude-xml2-config.patch \
@@ -56,6 +56,7 @@ do_install_append() {
     rm -rf ${D}/.registry
     rm -rf ${D}/.channels
     rm -rf ${D}/.[a-z]*
+    sed -i 's:${STAGING_DIR_NATIVE}::g' ${D}/${sysconfdir}/pear.conf
 }
 
 PACKAGES = "${PN}-dbg \





More information about the Openembedded-commits mailing list