diff options
Diffstat (limited to 'databases/pecl-rrd')
-rw-r--r-- | databases/pecl-rrd/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/pecl-rrd/Makefile b/databases/pecl-rrd/Makefile index 8a2e103913c1..e813d1476e59 100644 --- a/databases/pecl-rrd/Makefile +++ b/databases/pecl-rrd/Makefile @@ -12,4 +12,12 @@ LICENSE= PHP301 LIB_DEPENDS= librrd.so:databases/rrdtool USES= php:pecl localbase pkgconfig -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +post-patch: +.if ${PHP_VER} >= 85 + @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string|Zend/zend_smart_string|' \ + ${WRKSRC}/rrd.c ${WRKSRC}/rrd_graph.c ${WRKSRC}/rrd_update.c +.endif + +.include <bsd.port.post.mk> |