Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:45 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: 50592a988c31 - main - devel/ocaml-camlp-streams: fix build on powerpc
Message-ID:  <202501122142.50CLgjqs095889@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=50592a988c312771025ba2388f77aff28cf69535

commit 50592a988c312771025ba2388f77aff28cf69535
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-03 18:37:07 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:07 +0000

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

diff --git a/devel/ocaml-camlp-streams/Makefile b/devel/ocaml-camlp-streams/Makefile
index ba37eec41543..8a98930c24d0 100644
--- a/devel/ocaml-camlp-streams/Makefile
+++ b/devel/ocaml-camlp-streams/Makefile
@@ -19,6 +19,12 @@ PORTDOCS=	CHANGES.md LICENSE README.md
 
 OPTIONS_DEFINE=	DOCS
 
+.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.50CLgjqs095889>