Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jun 2021 22:29:59 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 331ac64f1b3a - main - lang/php74: fix build on riscv64
Message-ID:  <202106162229.15GMTxIY090756@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit 331ac64f1b3ad22f6f2346657c56820728ee87db
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-16 22:29:41 +0000
Commit:     Piotr Kubaj <pkubaj@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106162229.15GMTxIY090756>