summaryrefslogtreecommitdiff
path: root/textproc/php80-enchant/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/php80-enchant/Makefile')
-rw-r--r--textproc/php80-enchant/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/php80-enchant/Makefile b/textproc/php80-enchant/Makefile
index 25dd6e37607d..bb3e26ac90ae 100644
--- a/textproc/php80-enchant/Makefile
+++ b/textproc/php80-enchant/Makefile
@@ -6,4 +6,9 @@ PKGNAMESUFFIX= -enchant
TEST_TARGET= test
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|#include "../spl/spl_exceptions.h"|#include "ext/spl/spl_exceptions.h"|g' \
+ ${WRKSRC}/enchant.c
+
.include "${MASTERDIR}/Makefile"