Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2025 14:21:58 GMT
From:      Michael Gmelin <grembo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 2f8dc702c756 - main - devel/arcanist-lib: Fix for php 8.3+
Message-ID:  <202510271421.59RELwVD040382@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=2f8dc702c756b4c7b352a8580aebc5abdeec263e

commit 2f8dc702c756b4c7b352a8580aebc5abdeec263e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-10-27 14:16:43 +0000
Commit:     Michael Gmelin <grembo@FreeBSD.org>
CommitDate: 2025-10-27 14:21:35 +0000

    devel/arcanist-lib: Fix for php 8.3+
---
 devel/arcanist-lib/Makefile | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/devel/arcanist-lib/Makefile b/devel/arcanist-lib/Makefile
index 3c2553b5066c..4ea353116871 100644
--- a/devel/arcanist-lib/Makefile
+++ b/devel/arcanist-lib/Makefile
@@ -1,6 +1,6 @@
 PORTNAME?=	arcanist
 PORTVERSION?=	20220518
-PORTREVISION?=	7
+PORTREVISION?=	8
 CATEGORIES?=	devel
 PKGNAMESUFFIX=	${SLAVE_PKGNAMESUFFIX}${PHP_PKGNAMESUFFIX}
 
@@ -50,6 +50,13 @@ PLIST_FILES=	bin/arc
 
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} >= 83
+post-patch:
+	@${REINPLACE_CMD} -e 's/ | E_STRICT//' ${WRKSRC}/support/init/init-script.php
+.endif
+
 do-install:
 .if ${SLAVEPORT} == bin
 	${RLN} ../${PHP_DESTDIR}/bin/arc ${STAGEDIR}${PREFIX}/bin/arc
@@ -83,4 +90,4 @@ do-install:
 	${STAGEDIR}${PREFIX}/${PHP_DESTDIR}/bin/arc shell-complete --generate
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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