summaryrefslogtreecommitdiff
path: root/packages/php/php_5.2.0.bb
diff options
context:
space:
mode:
authorOyvind Repvik <nail@nslu2-linux.org>2007-03-18 00:53:42 +0000
committerOyvind Repvik <nail@nslu2-linux.org>2007-03-18 00:53:42 +0000
commit684193b3a8075edef80c3036aefa24b6cc9814f9 (patch)
treee954b65c54d6a97af8ca6758e0b81f85dc6baa26 /packages/php/php_5.2.0.bb
parent4ea3fadb1ee5e445a40d2dff48b30024e1ee3c9f (diff)
php: Unbreak php 5.2.0 build
Diffstat (limited to 'packages/php/php_5.2.0.bb')
-rw-r--r--packages/php/php_5.2.0.bb10
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'
}