summaryrefslogtreecommitdiff
path: root/www/php82-opcache/files/patch-config.m4
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 15:59:05 -0500
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-06-11 16:02:49 -0500
commit665b149d2692ff6926a092568304091995e07d39 (patch)
tree43733e6164a8fac2635af7542a26e80c2524c28c /www/php82-opcache/files/patch-config.m4
parentnet-mgmt/check_ssl_cert: update to 2.31.0 (diff)
*/*php82*: Welcome php 8.2.0 Alpha 1
Please DO NOT use this version in production, it is an early test version. port-committers@ please DO NOT mark your ports IGNORE_WITH_PHP=82. A build is running to check all php ports with php82 and will be committed in batch tomorrow. Sponsored by: Bounce Experts
Diffstat (limited to 'www/php82-opcache/files/patch-config.m4')
-rw-r--r--www/php82-opcache/files/patch-config.m420
1 files changed, 20 insertions, 0 deletions
diff --git a/www/php82-opcache/files/patch-config.m4 b/www/php82-opcache/files/patch-config.m4
new file mode 100644
index 000000000000..7bd2cb9083fd
--- /dev/null
+++ b/www/php82-opcache/files/patch-config.m4
@@ -0,0 +1,20 @@
+--- config.m4.orig 2021-12-15 02:00:45 UTC
++++ config.m4
+@@ -29,7 +29,7 @@ if test "$PHP_OPCACHE" != "no"; then
+
+ if test "$PHP_OPCACHE_JIT" = "yes"; then
+ case $host_cpu in
+- i[[34567]]86*|x86*|aarch64)
++ i[[34567]]86*|x86*|aarch64|amd64)
+ ;;
+ *)
+ AC_MSG_WARN([JIT not supported by host architecture])
+@@ -48,7 +48,7 @@ if test "$PHP_OPCACHE" != "no"; then
+ DASM_FLAGS="-D X64APPLE=1 -D X64=1"
+ DASM_ARCH="x86"
+ ;;
+- x86_64*)
++ *x86_64*|amd64-*-freebsd*)
+ DASM_FLAGS="-D X64=1"
+ DASM_ARCH="x86"
+ ;;