[oe-commits] Eric Bénard : modphp: enable bz2, zip and mbstring
git at git.openembedded.org
git at git.openembedded.org
Tue Nov 27 10:53:12 UTC 2012
Module: meta-openembedded.git
Branch: master
Commit: 9439d8132a0f936dfb7cefb73fa0a1c582826e4b
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=9439d8132a0f936dfb7cefb73fa0a1c582826e4b
Author: Eric Bénard <eric at eukrea.com>
Date: Sun Nov 25 18:25:07 2012 +0100
modphp: enable bz2, zip and mbstring
- bz2 and zip remove warnings in phpmyadmin
- mbstring is usefull for multibyte strings
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
meta-webserver/recipes-php/modphp/modphp5.inc | 5 ++++-
meta-webserver/recipes-php/modphp/modphp_5.3.19.bb | 2 +-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc
index 1db85bf..3302936 100644
--- a/meta-webserver/recipes-php/modphp/modphp5.inc
+++ b/meta-webserver/recipes-php/modphp/modphp5.inc
@@ -1,7 +1,7 @@
SECTION = "console/network"
DESCRIPTION = "A server-side, HTML-embedded scripting language. This package provides the apache php module."
LICENSE = "PHP-3.0"
-DEPENDS = "apache2-native apache2 zlib"
+DEPENDS = "apache2-native apache2 zlib bzip2"
SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2 \
file://configure.patch \
@@ -36,6 +36,9 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \
--disable-rpath \
--libdir=${libdir}/php5 \
--with-zlib --with-zlib-dir=${STAGING_DIR_TARGET}${exec_prefix} \
+ --with-bz2=${STAGING_DIR_TARGET}${exec_prefix} \
+ --enable-zip \
+ --enable-mbstring \
--with-config-file-path=${sysconfdir}/php/apache2-php5"
PACKAGECONFIG ??= ""
diff --git a/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb b/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
index 56599d6..ecc6e86 100644
--- a/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
+++ b/meta-webserver/recipes-php/modphp/modphp_5.3.19.bb
@@ -1,5 +1,5 @@
include modphp5.inc
-PR = "r0"
+PR = "r1"
SRC_URI[md5sum] = "e1d2a3ec7849d4b3032bd1abf1916aa4"
SRC_URI[sha256sum] = "814ce55b950158c4ddadbcd0b2d7d8cb4b570de4a29b9db021020594e2469fd6"
More information about the Openembedded-commits
mailing list