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