Date: Sat, 2 Aug 2025 00:46:49 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: a393df7785bd - main - devel/pecl-zookeeper: Fix build with php85 Message-ID: <202508020046.5720knxe023800@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=a393df7785bdc9e91e533e1ab4ba9d18c30cec6a commit a393df7785bdc9e91e533e1ab4ba9d18c30cec6a Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2025-08-02 00:29:37 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2025-08-02 00:46:04 +0000 devel/pecl-zookeeper: Fix build with php85 Approved by: portmgr (blanket) --- devel/pecl-zookeeper/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/devel/pecl-zookeeper/Makefile b/devel/pecl-zookeeper/Makefile index b1d8c572c3ae..558f39c2a8e1 100644 --- a/devel/pecl-zookeeper/Makefile +++ b/devel/pecl-zookeeper/Makefile @@ -18,8 +18,16 @@ USE_PHP= session:build PORTDATA= zookeeper-api.php +.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}/php_zookeeper.c +.endif + post-install: ${MKDIR} ${STAGEDIR}${DATADIR}/ ${INSTALL_DATA} ${WRKSRC}/zookeeper-api.php ${STAGEDIR}${DATADIR}/ -.include <bsd.port.mk> +.include <bsd.port.post.mk>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508020046.5720knxe023800>
