Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:35 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: 9685f405b992 - main - devel/ocaml-cppo: fix build on powerpc
Message-ID:  <202501122142.50CLgZkJ095472@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=9685f405b992a2e8f195b7d7cc29fc36293d91e4

commit 9685f405b992a2e8f195b7d7cc29fc36293d91e4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:04:55 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:52 +0000

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

diff --git a/devel/ocaml-cppo/Makefile b/devel/ocaml-cppo/Makefile
index 78beb4f7cacc..50611157d783 100644
--- a/devel/ocaml-cppo/Makefile
+++ b/devel/ocaml-cppo/Makefile
@@ -21,6 +21,12 @@ GH_ACCOUNT=	ocaml-community
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cppo
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/cppo_ocamlbuild/cppo_ocamlbuild.cmxs



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