Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:46:55 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: 6f36e031f012 - main - devel/ocaml-ocplib-endian: fix build on powerpc
Message-ID:  <202501172146.50HLkt4R062422@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=6f36e031f012d4215cf1e7ec72a76f497291739e

commit 6f36e031f012d4215cf1e7ec72a76f497291739e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 10:34:34 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:11 +0000

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

diff --git a/devel/ocaml-ocplib-endian/Makefile b/devel/ocaml-ocplib-endian/Makefile
index 6eb2068e7820..6cd9ce74119a 100644
--- a/devel/ocaml-ocplib-endian/Makefile
+++ b/devel/ocaml-ocplib-endian/Makefile
@@ -20,6 +20,12 @@ PORTDOCS=	CHANGES.md README.md
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \



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