Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:18 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: b65c2c988888 - main - devel/ocaml-ounit: fix build on powerpc
Message-ID:  <202501122143.50CLhI8N097303@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=b65c2c988888252b2a19b07a75c13b75fd4e92a4

commit b65c2c988888252b2a19b07a75c13b75fd4e92a4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 11:40:53 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:56 +0000

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

diff --git a/devel/ocaml-ounit/Makefile b/devel/ocaml-ounit/Makefile
index a36ec0f021d7..2a5f91eb872f 100644
--- a/devel/ocaml-ounit/Makefile
+++ b/devel/ocaml-ounit/Makefile
@@ -21,6 +21,12 @@ PORTDOCS=	${OCAML_PACKAGES:@p@\
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/^(version v${DISTVERSION})/(version ${DISTVERSION})/" \



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