[oe-commits] Graeme Gregory : php_5.2.11.bb : enable more mysql modules and move to mysql5
git version control
git at git.openembedded.org
Sun Dec 13 12:26:37 UTC 2009
Module: openembedded.git
Branch: martin_jansa/srcpv
Commit: 05f6870abebf2a002f6648fa12c1228b97224b41
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=05f6870abebf2a002f6648fa12c1228b97224b41
Author: Graeme Gregory <gg at slimlogic.co.uk>
Date: Thu Dec 10 19:03:08 2009 -0700
php_5.2.11.bb : enable more mysql modules and move to mysql5
---
recipes/php/php_5.2.11.bb | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/recipes/php/php_5.2.11.bb b/recipes/php/php_5.2.11.bb
index 058f1c2..5b4871c 100644
--- a/recipes/php/php_5.2.11.bb
+++ b/recipes/php/php_5.2.11.bb
@@ -1,9 +1,9 @@
require php.inc
-DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql \
+DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \
libc-client openssl"
-PR = "r2"
+PR = "r4"
SRC_URI += "file://pear-makefile.patch;patch=1 \
file://imap-fix-autofoo.patch;patch=1 \
@@ -19,7 +19,7 @@ EXTRA_OECONF = " --without-iconv \
--enable-pcntl \
--enable-memory-limit \
--enable-wddx \
- --enable-embedded-mysqli \
+ --disable-embedded-mysqli \
--enable-magic-quotes \
--enable-fastcgi \
--with-imap=${STAGING_DIR_HOST} \
@@ -27,7 +27,8 @@ EXTRA_OECONF = " --without-iconv \
--with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \
--with-libxml-dir=${STAGING_BINDIR_CROSS} \
--with-mysql="${STAGING_DIR_TARGET}${layout_exec_prefix}" \
-# --with-mysqli = "${STAGING_BINDIR_NATIVE}/mysql_config" \
+ --with-mysqli="${STAGING_BINDIR_CROSS}/mysql_config" \
+ --with-pdo-mysql="${STAGING_BINDIR_CROSS}/mysql_config" \
--without-pdo-sqlite \
"
@@ -35,6 +36,8 @@ export LD_LIBRARY_PATH = "${STAGING_LIBDIR}"
export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
export PHP_PEAR_PHP_BIN = "${bindir}/php"
+#LDFLAGS += "-lstdc++"
+
do_configure_append() {
find ${S} -type f | xargs sed -i 's:I/usr/include:I${STAGING_INCDIR}:g'
}
More information about the Openembedded-commits
mailing list