git: 331ac64f1b3a - main - lang/php74: fix build on riscv64

Piotr Kubaj pkubaj at FreeBSD.org
Wed Jun 16 22:30:00 UTC 2021


The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=331ac64f1b3ad22f6f2346657c56820728ee87db

commit 331ac64f1b3ad22f6f2346657c56820728ee87db
Author:     Piotr Kubaj <pkubaj at FreeBSD.org>
AuthorDate: 2021-06-16 22:29:41 +0000
Commit:     Piotr Kubaj <pkubaj at FreeBSD.org>
CommitDate: 2021-06-16 22:29:41 +0000

    lang/php74: fix build on riscv64
    
    Same fix as for php80.
---
 lang/php74/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lang/php74/Makefile b/lang/php74/Makefile
index 73dceab16cd6..027ef5276504 100644
--- a/lang/php74/Makefile
+++ b/lang/php74/Makefile
@@ -46,6 +46,7 @@ OPTIONS_EXCLUDE_mips64=		DTRACE FPM
 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
 
@@ -64,6 +65,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-main mailing list