diff options
| author | Eric BENARD <eric@eukrea.com> | 2012-11-27 16:16:42 +0000 |
|---|---|---|
| committer | Eric Bénard <eric@eukrea.com> | 2013-02-01 09:59:00 +0100 |
| commit | 82f9969f4f24ff232c92006702767491b4c1a241 (patch) | |
| tree | 2cc37325c12f408b83be3d0fd9c557153f7daf4e /meta-oe | |
| parent | ffae5e45688422391f03aad5e9e5d4f10e2aaaba (diff) | |
| download | meta-openembedded-82f9969f4f24ff232c92006702767491b4c1a241.tar.gz | |
php: enable gettext and sqlite
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/recipes-devtools/php/php.inc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc index 03b7b40b36..10dc154373 100644 --- a/meta-oe/recipes-devtools/php/php.inc +++ b/meta-oe/recipes-devtools/php/php.inc | |||
| @@ -4,16 +4,16 @@ SECTION = "console/network" | |||
| 4 | LICENSE = "PHP-3.0" | 4 | LICENSE = "PHP-3.0" |
| 5 | BBCLASSEXTEND = "native" | 5 | BBCLASSEXTEND = "native" |
| 6 | DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \ | 6 | DEPENDS = "zlib libxml2 virtual/libiconv php-native lemon-native mysql5 \ |
| 7 | libc-client openssl" | 7 | libc-client openssl sqlite3" |
| 8 | DEPENDS_virtclass-native = "zlib-native libxml2-native" | 8 | DEPENDS_virtclass-native = "zlib-native libxml2-native" |
| 9 | 9 | ||
| 10 | INC_PR = "r0" | 10 | INC_PR = "r1" |
| 11 | 11 | ||
| 12 | SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" | 12 | SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2" |
| 13 | 13 | ||
| 14 | S = "${WORKDIR}/php-${PV}" | 14 | S = "${WORKDIR}/php-${PV}" |
| 15 | 15 | ||
| 16 | inherit autotools pkgconfig pythonnative | 16 | inherit autotools pkgconfig pythonnative gettext |
| 17 | 17 | ||
| 18 | SSTATE_SCAN_FILES += "build-defs.h" | 18 | SSTATE_SCAN_FILES += "build-defs.h" |
| 19 | 19 | ||
| @@ -22,6 +22,7 @@ COMMON_EXTRA_OECONF = "--enable-sockets --enable-pcntl --enable-shared" | |||
| 22 | EXTRA_OECONF = "--enable-mbstring --enable-discard-path --enable-wddx \ | 22 | EXTRA_OECONF = "--enable-mbstring --enable-discard-path --enable-wddx \ |
| 23 | --enable-magic-quotes --enable-fastcgi \ | 23 | --enable-magic-quotes --enable-fastcgi \ |
| 24 | --with-imap=${STAGING_DIR_HOST} \ | 24 | --with-imap=${STAGING_DIR_HOST} \ |
| 25 | --with-gettext=${STAGING_LIBDIR}/.. \ | ||
| 25 | --with-imap-ssl=${STAGING_DIR_HOST} \ | 26 | --with-imap-ssl=${STAGING_DIR_HOST} \ |
| 26 | --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \ | 27 | --with-zlib --with-zlib-dir=${STAGING_LIBDIR}/.. \ |
| 27 | --with-iconv=${STAGING_LIBDIR}/.. \ | 28 | --with-iconv=${STAGING_LIBDIR}/.. \ |
| @@ -29,8 +30,9 @@ EXTRA_OECONF = "--enable-mbstring --enable-discard-path --enable-wddx \ | |||
| 29 | --disable-embedded-mysqli \ | 30 | --disable-embedded-mysqli \ |
| 30 | --with-mysql="${STAGING_DIR_TARGET}${prefix}" \ | 31 | --with-mysql="${STAGING_DIR_TARGET}${prefix}" \ |
| 31 | --with-mysqli="${STAGING_BINDIR_CROSS}/mysql_config" \ | 32 | --with-mysqli="${STAGING_BINDIR_CROSS}/mysql_config" \ |
| 33 | --with-sqlite3=${STAGING_LIBDIR}/.. --enable-sqlite-utf8 \ | ||
| 32 | --with-pdo-mysql="${STAGING_BINDIR_CROSS}/mysql_config" \ | 34 | --with-pdo-mysql="${STAGING_BINDIR_CROSS}/mysql_config" \ |
| 33 | --without-pdo-sqlite ${COMMON_EXTRA_OECONF} \ | 35 | --with-pdo-sqlite=${STAGING_LIBDIR}/.. ${COMMON_EXTRA_OECONF} \ |
| 34 | " | 36 | " |
| 35 | EXTRA_OECONF_virtclass-native = "--with-cgi --without-libpng --without-libjpeg \ | 37 | EXTRA_OECONF_virtclass-native = "--with-cgi --without-libpng --without-libjpeg \ |
| 36 | --with-zlib --with-zlib-dir=${STAGING_LIBDIR_NATIVE}/.. \ | 38 | --with-zlib --with-zlib-dir=${STAGING_LIBDIR_NATIVE}/.. \ |
