summaryrefslogtreecommitdiff
path: root/packages/php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/php')
-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'
}