git: 62bd7b9f9900 - main - lang/php80: fix build on riscv64
Piotr Kubaj
pkubaj at FreeBSD.org
Wed Jun 9 00:41:55 UTC 2021
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=62bd7b9f9900528481ab4ae32b4a2bd183afecfb
commit 62bd7b9f9900528481ab4ae32b4a2bd183afecfb
Author: Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-09 00:41:46 +0000
Commit: Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-09 00:41:46 +0000
lang/php80: fix build on riscv64
DTRACE doesn't yet work on riscv64.
JIT in PCRE2 is not yet implemented.
---
lang/php80/Makefile | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lang/php80/Makefile b/lang/php80/Makefile
index 00eb5388ba65..ca90715958ba 100644
--- a/lang/php80/Makefile
+++ b/lang/php80/Makefile
@@ -47,6 +47,7 @@ OPTIONS_EXCLUDE_powerpc= DTRACE
OPTIONS_EXCLUDE_powerpc64= ${OPTIONS_EXCLUDE_${ARCH}_${OSREL:R}}
OPTIONS_EXCLUDE_powerpc64_11= DTRACE
OPTIONS_EXCLUDE_powerpc64_12= DTRACE
+OPTIONS_EXCLUDE_riscv64= DTRACE
OPTIONS_EXCLUDE_sparc64= DTRACE
OPTIONS_SUB= yes
@@ -73,6 +74,10 @@ DESTDIRNAME= INSTALL_ROOT
.include <bsd.port.pre.mk>
+.if ${ARCH} == riscv64
+CONFIGURE_ARGS+=--without-pcre-jit
+.endif
+
.if ${PORT_OPTIONS:MMYSQLND}
CONFIGURE_ARGS+=--enable-mysqlnd
.endif
More information about the dev-commits-ports-all
mailing list