summaryrefslogtreecommitdiff
path: root/lang/php82
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-04-12 12:50:59 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-04-12 12:53:27 +0000
commit318b1cc930e6d576fb053ff4acf677ebf7e5ac99 (patch)
tree789aa5dbd684b1db3df04e2e355ebe9a0f067952 /lang/php82
parent48557dff2bb3d3569250d9cfe64609ac0fdf9edb (diff)
Diffstat (limited to 'lang/php82')
-rw-r--r--lang/php82/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lang/php82/Makefile b/lang/php82/Makefile
index ecbc964bad66..8fa78e0e3e5f 100644
--- a/lang/php82/Makefile
+++ b/lang/php82/Makefile
@@ -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