From aa64f5f00546cd654b3cd318e6456a25431629bf Mon Sep 17 00:00:00 2001 From: Junqian Gordon Xu Date: Fri, 19 Sep 2008 13:38:39 +0000 Subject: php: fix broken 5.2.6 * drop broken 5.1.4 * not linking with mysql for now because oe build mysql with --enable-embedded-server * http://bugs.mysql.com/bug.php?id=16513 * no fix is available for mysql4.1, waiting for mysql5.x in oe to link with mysql --- packages/php/php.inc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'packages/php/php.inc') diff --git a/packages/php/php.inc b/packages/php/php.inc index e2ab04f486..e9d49a3269 100644 --- a/packages/php/php.inc +++ b/packages/php/php.inc @@ -2,24 +2,15 @@ DESCRIPTION = "A server-side, HTML-embedded scripting language. This package pro HOMEPAGE = "http://www.php.net" SECTION = "console/network" LICENSE = "PHP" -DEPENDS = "zlib libxml2 mysql mysql-native virtual/libiconv php-native" SRC_URI = "http://us2.php.net/distributions/php-${PV}.tar.bz2\ file://acinclude-xml2-config.patch;patch=1" +S = "${WORKDIR}/php-${PV}" + inherit autotools CFLAGS += " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED" -EXTRA_OECONF = "--with-cgi --enable-sockets --enable-pcntl \ - --with-mysql \ - --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \ - --without-libpng --without-libjpeg \ - --with-config-file-path=${sysconfdir}/php4" - -EXTRA_OECONF += " --without-pear" -# Uncomment the following two lines, and comment the above to enable PEAR -#EXTRA_OECONF += " --with-pear-php-cli=${STAGING_BINDIR_NATIVE}/php" -#DEPENDS += " php-native" acpaths = "" -- cgit v1.2.3