summaryrefslogtreecommitdiff
path: root/databases/pecl-redis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/pecl-redis/Makefile')
-rw-r--r--databases/pecl-redis/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/pecl-redis/Makefile b/databases/pecl-redis/Makefile
index 8436e112db52..7f1e5dd08253 100644
--- a/databases/pecl-redis/Makefile
+++ b/databases/pecl-redis/Makefile
@@ -18,4 +18,12 @@ IGBINARY_DESC= Build with Igbinary serializer
IGBINARY_USE= PHP=igbinary:build
IGBINARY_CONFIGURE_ENABLE= redis-igbinary
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${PHP_VER} >= 85
+ @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string.h|Zend/zend_smart_string.h|' \
+ ${WRKSRC}/common.h
+.endif
+
+.include <bsd.port.post.mk>