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,16 +1,22 @@ PORTNAME= yaml -PORTVERSION= 2.2.4 +DISTVERSION= 2.2.4 CATEGORIES= textproc pear MAINTAINER= dbaio@FreeBSD.org COMMENT= YAML-1.1 parser and emitter WWW= https://pecl.php.net/package/yaml LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libyaml.so:textproc/libyaml USES= php:pecl -.include +.include +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