diff options
Diffstat (limited to 'textproc/php71-simplexml')
-rw-r--r-- | textproc/php71-simplexml/Makefile | 11 | ||||
-rw-r--r-- | textproc/php71-simplexml/files/patch-config.m4 | 43 |
2 files changed, 0 insertions, 54 deletions
diff --git a/textproc/php71-simplexml/Makefile b/textproc/php71-simplexml/Makefile deleted file mode 100644 index 804990e003c0..000000000000 --- a/textproc/php71-simplexml/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD$ - -CATEGORIES= textproc - -MASTERDIR= ${.CURDIR}/../../lang/php71 - -PKGNAMESUFFIX= -simplexml - -TEST_TARGET= test - -.include "${MASTERDIR}/Makefile" diff --git a/textproc/php71-simplexml/files/patch-config.m4 b/textproc/php71-simplexml/files/patch-config.m4 deleted file mode 100644 index ab12da0527e4..000000000000 --- a/textproc/php71-simplexml/files/patch-config.m4 +++ /dev/null @@ -1,43 +0,0 @@ ---- config.m4.orig 2018-11-09 21:17:02.404698000 +0100 -+++ config.m4 2018-11-09 21:18:57.799985000 +0100 -@@ -4,6 +4,9 @@ dnl config.m4 for extension simplexml - 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 @@ fi - - 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 <main/php_config.h> -+#if defined(HAVE_BUNDLED_PCRE) && !defined(COMPILE_DL_PCRE) -+yes -+#endif -+ ],[ -+ PHP_PCRE_REGEX=yes -+ ],[ -+ AC_EGREP_CPP(yes,[ -+#include <main/php_config.h> -+#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 |