Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:13 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: 01bf6aac6fe2 - main - devel/ocaml-sem: fix build on powerpc
Message-ID:  <202501172147.50HLlDXO063132@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=01bf6aac6fe2e003c58c58a811718d90aea06c38

commit 01bf6aac6fe2e003c58c58a811718d90aea06c38
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 13:42:14 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:35 +0000

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

diff --git a/devel/ocaml-sem/Makefile b/devel/ocaml-sem/Makefile
index 14e45a186e20..1548a465f4c5 100644
--- a/devel/ocaml-sem/Makefile
+++ b/devel/ocaml-sem/Makefile
@@ -27,6 +27,12 @@ MAKE_ENV+=	NO_CUSTOM=y
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}



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