summaryrefslogtreecommitdiff
path: root/textproc/php80-xsl
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php80-xsl')
-rw-r--r--textproc/php80-xsl/Makefile5
-rw-r--r--textproc/php80-xsl/files/patch-php_xsl.h11
2 files changed, 5 insertions, 11 deletions
diff --git a/textproc/php80-xsl/Makefile b/textproc/php80-xsl/Makefile
index 5b29c0a1c9ad..81e23ff3acc1 100644
--- a/textproc/php80-xsl/Makefile
+++ b/textproc/php80-xsl/Makefile
@@ -6,4 +6,9 @@ PKGNAMESUFFIX= -xsl
TEST_TARGET= test
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|#include "../dom/xml_common.h"|#include "ext/dom/xml_common.h"|g' \
+ ${WRKSRC}/php_xsl.h
+
.include "${MASTERDIR}/Makefile"
diff --git a/textproc/php80-xsl/files/patch-php_xsl.h b/textproc/php80-xsl/files/patch-php_xsl.h
deleted file mode 100644
index 69f1140af49d..000000000000
--- a/textproc/php80-xsl/files/patch-php_xsl.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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>