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:
parent
48557dff2b
commit
318b1cc930
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user