Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:39 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: 23256071d66d - main - devel/ocaml-pcre2: fix build on powerpc
Message-ID:  <202501122142.50CLgdrn095670@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=23256071d66d79da988f6851f27ff54de535fe12

commit 23256071d66d79da988f6851f27ff54de535fe12
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:47:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:59 +0000

    devel/ocaml-pcre2: fix build on powerpc
---
 devel/ocaml-pcre2/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/ocaml-pcre2/Makefile b/devel/ocaml-pcre2/Makefile
index 7cc5d8522324..7e075ea01a9a 100644
--- a/devel/ocaml-pcre2/Makefile
+++ b/devel/ocaml-pcre2/Makefile
@@ -25,6 +25,12 @@ PORTEXAMPLES=	*
 OPTIONS_DEFINE=		DOCS EXAMPLES
 DOCS_ALL_TARGET=	examples/ @install
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	${REINPLACE_CMD} \
 		-e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \



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