diff options
Diffstat (limited to 'textproc/pecl-yaml/Makefile')
-rw-r--r-- | textproc/pecl-yaml/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/textproc/pecl-yaml/Makefile b/textproc/pecl-yaml/Makefile index 957bf82dbd98..92419ba58a6b 100644 --- a/textproc/pecl-yaml/Makefile +++ b/textproc/pecl-yaml/Makefile @@ -1,5 +1,5 @@ PORTNAME= yaml -PORTVERSION= 2.2.4 +DISTVERSION= 2.2.4 CATEGORIES= textproc pear MAINTAINER= dbaio@FreeBSD.org @@ -13,4 +13,10 @@ LIB_DEPENDS= libyaml.so:textproc/libyaml USES= php:pecl -.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}/php_yaml.h +.endif +.include <bsd.port.post.mk> |