git: 3b4c86ee5819 - main - www/php84-opcache: Unbreak
- Reply: Dima Panov : "Re: git: 3b4c86ee5819 - main - www/php84-opcache: Unbreak"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 02 Aug 2024 21:48:27 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b4c86ee58196188132b244feb893ea2864f704f commit 3b4c86ee58196188132b244feb893ea2864f704f Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-08-02 21:47:45 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-08-02 21:47:45 +0000 www/php84-opcache: Unbreak --- lang/php84/Makefile | 9 ++++++++- www/php84-opcache/Makefile | 2 -- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lang/php84/Makefile b/lang/php84/Makefile index 795124262385..b2d4ea5987db 100644 --- a/lang/php84/Makefile +++ b/lang/php84/Makefile @@ -389,9 +389,10 @@ CONFIGURE_ARGS+= --with-unixODBC=${LOCALBASE} .endif .if ${PHP_MODNAME} == "opcache" +LIB_DEPENDS+= libcapstone.so:devel/capstone # This is needed by Zend extensions, keep before everything. PHP_MOD_PRIO= 10 -CONFIGURE_ARGS+= --enable-opcache +CONFIGURE_ARGS+= --enable-opcache --with-capstone .endif .if ${PHP_MODNAME} == "pcntl" @@ -593,6 +594,12 @@ USES+= pkgconfig CONFIGURE_ARGS+=--disable-opcache-jit .endif +.if ${PHP_MODNAME} == "opcache" +post-configure: + @${BSDMAKE} -C ${WRKSRC} ./jit/ir/ir_fold_hash.h + @${BSDMAKE} -C ${WRKSRC} ./jit/ir/ir_emit.lo +.endif + .if ${PHP_MODNAME} == "soap" post-extract: @${MKDIR} ${WRKSRC}/ext/session diff --git a/www/php84-opcache/Makefile b/www/php84-opcache/Makefile index 3a08a1e576c2..64f1bf97e932 100644 --- a/www/php84-opcache/Makefile +++ b/www/php84-opcache/Makefile @@ -2,8 +2,6 @@ CATEGORIES= www PKGNAMESUFFIX= -opcache -BROKEN= Missing header files which will be fixed in next version - USES= php:zend,noflavors MASTERDIR= ${.CURDIR}/../../lang/php84