1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-14 07:43:06 +00:00

lang/php8[12]: Fix bulk build

PR:		266175
Reported by:	fluffy
Sponsored by:	Bounce Experts
This commit is contained in:
Muhammad Moinur Rahman 2023-04-12 14:50:59 +02:00
parent 48557dff2b
commit 318b1cc930
2 changed files with 8 additions and 8 deletions

View File

@ -400,12 +400,8 @@ CONFIGURE_ARGS+= --enable-odbc \
.if ${PHP_MODNAME} == "opcache"
# This is needed by Zend extensions, keep before everything.
PHP_MOD_PRIO= 10
.if ${ARCH} == aarch64
CONFIGURE_ARGS+= --disable-opcache-jit
.else
CONFIGURE_ARGS+= --enable-opcache
.endif
.endif
.if ${PHP_MODNAME} == "pcntl"
CONFIGURE_ARGS+= --enable-pcntl
@ -620,6 +616,10 @@ USES+= pkgconfig
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 && ${PHP_MODNAME} == "opcache"
CONFIGURE_ARGS+=--disable-opcache-jit
.endif
.if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib"
post-extract:
@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4

View File

@ -401,12 +401,8 @@ CONFIGURE_ARGS+= --enable-odbc \
.if ${PHP_MODNAME} == "opcache"
# This is needed by Zend extensions, keep before everything.
PHP_MOD_PRIO= 10
.if ${ARCH} == aarch64
CONFIGURE_ARGS+= --disable-opcache-jit
.else
CONFIGURE_ARGS+= --enable-opcache
.endif
.endif
.if ${PHP_MODNAME} == "pcntl"
CONFIGURE_ARGS+= --enable-pcntl
@ -622,6 +618,10 @@ USES+= pkgconfig
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64 && ${PHP_MODNAME} == "opcache"
CONFIGURE_ARGS+=--disable-opcache-jit
.endif
.if ${PHP_MODNAME} == "sqlite3" || ${PHP_MODNAME} == "zlib"
post-extract:
@${MV} ${WRKSRC}/config0.m4 ${WRKSRC}/config.m4