diff options
Diffstat (limited to 'meta-webserver/recipes-php/modphp/modphp5.inc')
| -rw-r--r-- | meta-webserver/recipes-php/modphp/modphp5.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc index 69324295a5..c1cdf726e1 100644 --- a/meta-webserver/recipes-php/modphp/modphp5.inc +++ b/meta-webserver/recipes-php/modphp/modphp5.inc | |||
| @@ -8,13 +8,14 @@ SRC_URI = "http://www.php.net/distributions/php-${PV}.tar.bz2 \ | |||
| 8 | file://configure.patch \ | 8 | file://configure.patch \ |
| 9 | file://pthread-check-threads-m4.patch \ | 9 | file://pthread-check-threads-m4.patch \ |
| 10 | file://70_mod_php5.conf \ | 10 | file://70_mod_php5.conf \ |
| 11 | file://0001-using-pkgconfig-to-check-libxml.patch \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | S = "${WORKDIR}/php-${PV}" | 14 | S = "${WORKDIR}/php-${PV}" |
| 14 | 15 | ||
| 15 | LIC_FILES_CHKSUM = "file://LICENSE;md5=52dd90569008fee5bcdbb22d945b1108" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=52dd90569008fee5bcdbb22d945b1108" |
| 16 | 17 | ||
| 17 | inherit autotools | 18 | inherit autotools pkgconfig |
| 18 | 19 | ||
| 19 | CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2" | 20 | CFLAGS += " -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2" |
| 20 | 21 | ||
| @@ -32,7 +33,6 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \ | |||
| 32 | --disable-xmlreader \ | 33 | --disable-xmlreader \ |
| 33 | --disable-xmlwriter \ | 34 | --disable-xmlwriter \ |
| 34 | --disable-simplexml \ | 35 | --disable-simplexml \ |
| 35 | --disable-libxml \ | ||
| 36 | --disable-dom \ | 36 | --disable-dom \ |
| 37 | --disable-rpath \ | 37 | --disable-rpath \ |
| 38 | --libdir=${libdir}/php5 \ | 38 | --libdir=${libdir}/php5 \ |
| @@ -47,6 +47,8 @@ EXTRA_OECONF = "--with-apxs2=${STAGING_BINDIR_CROSS}/apxs \ | |||
| 47 | PACKAGECONFIG ??= "mysql" | 47 | PACKAGECONFIG ??= "mysql" |
| 48 | PACKAGECONFIG[mysql] = "--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config,--without-mysqli,mysql5" | 48 | PACKAGECONFIG[mysql] = "--with-mysqli=${STAGING_BINDIR_CROSS}/mysql_config,--without-mysqli,mysql5" |
| 49 | PACKAGECONFIG[pgsql] = "--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,mysql5" | 49 | PACKAGECONFIG[pgsql] = "--with-pgsql=${STAGING_DIR_TARGET}${exec_prefix},--without-pgsql,mysql5" |
| 50 | PACKAGECONFIG[libxml] = "--enable-libxml,--disable-libxml,libxml2" | ||
| 51 | PACKAGECONFIG[soap] = "--enable-libxml --enable-soap, --disable-soap, libxml2" | ||
| 50 | 52 | ||
| 51 | acpaths = "" | 53 | acpaths = "" |
| 52 | 54 | ||
