Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:46 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: 7f3cfa31a6c9 - main - devel/ocaml-gen: fix build on powerpc
Message-ID:  <202501122142.50CLgk7H095933@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=7f3cfa31a6c9a23525ebd967611e3882dcbae8a8

commit 7f3cfa31a6c9a23525ebd967611e3882dcbae8a8
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-03 18:39:56 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:09 +0000

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

diff --git a/devel/ocaml-gen/Makefile b/devel/ocaml-gen/Makefile
index 09ebebbf7827..6362dd03d2b8 100644
--- a/devel/ocaml-gen/Makefile
+++ b/devel/ocaml-gen/Makefile
@@ -21,6 +21,12 @@ OPTIONS_DEFINE=	DOCS
 
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(libraries seq)//" \



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