Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jun 2021 00:41:54 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: 62bd7b9f9900 - main - lang/php80: fix build on riscv64
Message-ID:  <202106090041.1590fsZN011136@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=62bd7b9f9900528481ab4ae32b4a2bd183afecfb

commit 62bd7b9f9900528481ab4ae32b4a2bd183afecfb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2021-06-09 00:41:46 +0000
Commit:     Piotr Kubaj <pkubaj@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



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