archivers/php-zstd: Fix build with php85
Approved by: portmgr (blanket)
This commit is contained in:
@@ -20,4 +20,12 @@ GH_PROJECT= php-ext-zstd
|
||||
|
||||
CONFIGURE_ARGS= --with-libzstd
|
||||
|
||||
.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}/zstd.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
||||
Reference in New Issue
Block a user