diff options
| author | Oyvind Repvik <nail@nslu2-linux.org> | 2007-03-18 00:54:28 +0000 |
|---|---|---|
| committer | Oyvind Repvik <nail@nslu2-linux.org> | 2007-03-18 00:54:28 +0000 |
| commit | 4126610ab97a5ffb5df1ac2d4e9b9a689ddb49fa (patch) | |
| tree | 5f935a930592c68439c9e2581d9966a78be08ce3 | |
| parent | f86bf9cfd0a9e5eb9f22354211b75c99d187cb31 (diff) | |
| parent | 684193b3a8075edef80c3036aefa24b6cc9814f9 (diff) | |
merge of '4b0ecf8b99b73f1af0da8356e51642c2979ce27e'
and '85d31d9cef302e8e998c83f837ea473786dc30af'
| -rw-r--r-- | packages/php/php_5.2.0.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/php/php_5.2.0.bb b/packages/php/php_5.2.0.bb index 919d96f8e3..3b24fbec40 100644 --- a/packages/php/php_5.2.0.bb +++ b/packages/php/php_5.2.0.bb @@ -3,9 +3,8 @@ DESCRIPTION = "A server-side, HTML-embedded scripting language. This package pro LICENSE = "PHP" DEPENDS = "zlib libxml2 mysql libiconv" SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2\ - file://autotools.patch;patch=1 \ - file://acinclude-xml2-config.patch;patch=1 \ " + S = "${WORKDIR}/php-${PV}" PR = "r0" @@ -15,6 +14,7 @@ export THREADS="pthread" export LIBS=" -lpthread " CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED" + EXTRA_OECONF = " --without-iconv \ --enable-discard-path \ --enable-sockets \ @@ -31,6 +31,12 @@ export LD_LIBRARY_PATH = "${STAGING_LIBDIR}" acpaths = "" +do_configure () { + autoreconf +ac_cv_php_xml2_config_path=${STAGING_BINDIR_CROSS}/xml2-config oe_runconf +} + + do_configure_append() { find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g' } |
