diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile index 3c5c2de6711f..d56cc88050ea 100644 --- a/graphics/pecl-imagick/Makefile +++ b/graphics/pecl-imagick/Makefile @@ -1,17 +1,25 @@ PORTNAME= imagick -PORTVERSION= 3.8.0 +DISTVERSION= 3.8.0 CATEGORIES= graphics MAINTAINER= 000.fbsd@quip.cz COMMENT= PHP wrapper to the ImageMagick/GraphicsMagick library WWW= https://pecl.php.net/package/imagick LICENSE= PHP301 USES= cpe localbase magick php:pecl CPE_VENDOR= php CONFIGURE_ARGS= --with-imagick=${LOCALBASE} -.include +.include + +post-patch: +.if ${PHP_VER} >= 85 + @${REINPLACE_CMD} -e 's|ext/standard/php_smart_string|Zend/zend_smart_string|' \ + ${WRKSRC}/imagick.c +.endif + +.include