# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= php71-soap VERSION= 7.1.11 KEYWORDS= lang www php net VARIANTS= standard SDESC[standard]= PHP 7.1 extension: soap web services HOMEPAGE= http://php.net/ CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= PHP/distributions DISTFILE[1]= php-7.1.11.tar.xz:main DF_INDEX= 1 SPKGS[standard]= single OPTIONS_AVAILABLE= none OPTIONS_STANDARD= none USES= php:ext,71 GNOME_COMPONENTS= libxml2 DISTNAME= php-7.1.11/ext/{{PHP_MODNAME}} EXTRACT_HEAD[1]= {{TAR}} -xf EXTRACT_TAIL[1]= php-7.1.11/ext/{{PHP_MODNAME}} FPC_EQUIVALENT= net/php71-soap CONFIGURE_ARGS= --enable-soap --with-libxml-dir={{LOCALBASE}} [FILE:96:distinfo] 074093e9d7d21afedc5106904218a80a47b854abe368d2728ed22184c884893e 12169884 php-7.1.11.tar.xz [FILE:1270:patches/patch-config.m4] --- config.m4.orig 2014-05-14 10:14:22.929420181 +0000 +++ config.m4 2014-05-14 10:15:36.967414693 +0000 @@ -4,6 +4,9 @@ PHP_ARG_ENABLE(simplexml, whether to enable SimpleXML support, [ --disable-simplexml Disable SimpleXML support], yes) +PHP_ARG_WITH(pcre-dir, pcre install prefix, +[ --with-pcre-dir SimpleXML: pcre install prefix], no, no) + if test -z "$PHP_LIBXML_DIR"; then PHP_ARG_WITH(libxml-dir, libxml2 install dir, [ --with-libxml-dir=DIR SimpleXML: libxml2 install prefix], no, no) @@ -11,6 +14,30 @@ if test "$PHP_SIMPLEXML" != "no"; then + dnl This is PECL build, check if bundled PCRE library is used + old_CPPFLAGS=$CPPFLAGS + CPPFLAGS=$INCLUDES + AC_EGREP_CPP(yes,[ +#include
+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) +yes +#endif + ],[ + PHP_PCRE_REGEX=yes + ],[ + AC_EGREP_CPP(yes,[ +#include
+#if defined(HAVE_PCRE) && !defined(COMPILE_DL_PCRE) +yes +#endif + ],[ + PHP_PCRE_REGEX=pecl + PHP_ADD_INCLUDE($PHP_PCRE_DIR/include) + ],[ + PHP_PCRE_REGEX=no + ]) + ]) + if test "$PHP_LIBXML" = "no"; then AC_MSG_ERROR([SimpleXML extension requires LIBXML extension, add --enable-libxml]) fi