summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/php80-ctype/Makefile11
-rw-r--r--textproc/php80-dom/Makefile11
-rw-r--r--textproc/php80-enchant/Makefile11
-rw-r--r--textproc/php80-enchant/files/patch-enchant.c11
-rw-r--r--textproc/php80-pspell/Makefile11
-rw-r--r--textproc/php80-simplexml/Makefile11
-rw-r--r--textproc/php80-simplexml/files/patch-config.m442
-rw-r--r--textproc/php80-xml/Makefile11
-rw-r--r--textproc/php80-xml/files/patch-compat.c13
-rw-r--r--textproc/php80-xmlreader/Makefile11
-rw-r--r--textproc/php80-xmlwriter/Makefile11
-rw-r--r--textproc/php80-xsl/Makefile11
-rw-r--r--textproc/php80-xsl/files/patch-php_xsl.h11
13 files changed, 176 insertions, 0 deletions
diff --git a/textproc/php80-ctype/Makefile b/textproc/php80-ctype/Makefile
new file mode 100644
index 000000000000..87f7f09b1368
--- /dev/null
+++ b/textproc/php80-ctype/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -ctype
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-dom/Makefile b/textproc/php80-dom/Makefile
new file mode 100644
index 000000000000..9bf16dd397cb
--- /dev/null
+++ b/textproc/php80-dom/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -dom
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-enchant/Makefile b/textproc/php80-enchant/Makefile
new file mode 100644
index 000000000000..ffd4e9533509
--- /dev/null
+++ b/textproc/php80-enchant/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -enchant
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-enchant/files/patch-enchant.c b/textproc/php80-enchant/files/patch-enchant.c
new file mode 100644
index 000000000000..fb4da55c99de
--- /dev/null
+++ b/textproc/php80-enchant/files/patch-enchant.c
@@ -0,0 +1,11 @@
+--- enchant.c.orig 2020-10-18 21:29:39 UTC
++++ enchant.c
+@@ -24,7 +24,7 @@
+ #include "ext/standard/info.h"
+ #include "Zend/zend_interfaces.h"
+ #include "Zend/zend_exceptions.h"
+-#include "../spl/spl_exceptions.h"
++#include "ext/spl/spl_exceptions.h"
+ #include <enchant.h>
+ #include "php_enchant.h"
+ #include "enchant_arginfo.h"
diff --git a/textproc/php80-pspell/Makefile b/textproc/php80-pspell/Makefile
new file mode 100644
index 000000000000..598bb807582f
--- /dev/null
+++ b/textproc/php80-pspell/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -pspell
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-simplexml/Makefile b/textproc/php80-simplexml/Makefile
new file mode 100644
index 000000000000..5ebb35523209
--- /dev/null
+++ b/textproc/php80-simplexml/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -simplexml
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-simplexml/files/patch-config.m4 b/textproc/php80-simplexml/files/patch-config.m4
new file mode 100644
index 000000000000..88638f7dccf4
--- /dev/null
+++ b/textproc/php80-simplexml/files/patch-config.m4
@@ -0,0 +1,42 @@
+--- config.m4.orig 2019-08-06 06:54:07 UTC
++++ config.m4
+@@ -4,8 +4,39 @@ PHP_ARG_ENABLE([simplexml],
+ [Disable SimpleXML support])],
+ [yes])
+
++PHP_ARG_ENABLE([pcre-dir],
++ [pcre install prefix],
++ [AS_HELP_STRING([--with-pcre-dir],
++ [SimpleXML: pcre install dir])],
++ [no],
++ [no])
++
+ 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 --with-libxml])
+ fi
diff --git a/textproc/php80-xml/Makefile b/textproc/php80-xml/Makefile
new file mode 100644
index 000000000000..c145eaf687b0
--- /dev/null
+++ b/textproc/php80-xml/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -xml
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-xml/files/patch-compat.c b/textproc/php80-xml/files/patch-compat.c
new file mode 100644
index 000000000000..02125961b20c
--- /dev/null
+++ b/textproc/php80-xml/files/patch-compat.c
@@ -0,0 +1,13 @@
+--- compat.c.orig Tue Jul 20 10:55:02 2004
++++ compat.c Tue Jul 20 10:55:55 2004
+@@ -16,6 +16,10 @@
+ +----------------------------------------------------------------------+
+ */
+
++#ifdef HAVE_CONFIG_H
++#include "config.h"
++#endif
++
+ #include "php.h"
+ #if defined(HAVE_LIBXML) && defined(HAVE_XML) && !defined(HAVE_LIBEXPAT)
+ #include "expat_compat.h"
diff --git a/textproc/php80-xmlreader/Makefile b/textproc/php80-xmlreader/Makefile
new file mode 100644
index 000000000000..0b8e3ad9a40a
--- /dev/null
+++ b/textproc/php80-xmlreader/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -xmlreader
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-xmlwriter/Makefile b/textproc/php80-xmlwriter/Makefile
new file mode 100644
index 000000000000..03ddb2b39c19
--- /dev/null
+++ b/textproc/php80-xmlwriter/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -xmlwriter
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-xsl/Makefile b/textproc/php80-xsl/Makefile
new file mode 100644
index 000000000000..755288f93e44
--- /dev/null
+++ b/textproc/php80-xsl/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+CATEGORIES= textproc
+
+MASTERDIR= ${.CURDIR}/../../lang/php80
+
+PKGNAMESUFFIX= -xsl
+
+TEST_TARGET= test
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-xsl/files/patch-php_xsl.h b/textproc/php80-xsl/files/patch-php_xsl.h
new file mode 100644
index 000000000000..69f1140af49d
--- /dev/null
+++ b/textproc/php80-xsl/files/patch-php_xsl.h
@@ -0,0 +1,11 @@
+--- php_xsl.h.orig 2020-10-16 22:10:29 UTC
++++ php_xsl.h
+@@ -37,7 +37,7 @@ extern zend_module_entry xsl_module_entr
+ #include <libexslt/exsltconfig.h>
+ #endif
+
+-#include "../dom/xml_common.h"
++#include "ext/dom/xml_common.h"
+
+ #include <libxslt/extensions.h>
+ #include <libxml/xpathInternals.h>