Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:36 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: c8ec14bae62f - main - devel/ocaml-camlp4: fix build on powerpc
Message-ID:  <202501122142.50CLgamk095530@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=c8ec14bae62fb55846c3921eb69079c8ed7aeaab

commit c8ec14bae62fb55846c3921eb69079c8ed7aeaab
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:16:32 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:54 +0000

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

diff --git a/devel/ocaml-camlp4/Makefile b/devel/ocaml-camlp4/Makefile
index 5103db031b23..5dc4d5b4a8ea 100644
--- a/devel/ocaml-camlp4/Makefile
+++ b/devel/ocaml-camlp4/Makefile
@@ -22,6 +22,12 @@ MAKE_JOBS_UNSAFE=yes
 ALL_TARGET=	all camlp4/META
 INSTALL_TARGET=	install install-META
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 .for f in camlp4o camlp4of camlp4oof camlp4orf camlp4r camlp4rf
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}.opt



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