Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:46:52 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: 6458c346b8fb - main - textproc/ocaml-yojson: fix build on powerpc
Message-ID:  <202501172146.50HLkqMC062338@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=6458c346b8fbd08d459cfc6251cd4e8219288f47

commit 6458c346b8fbd08d459cfc6251cd4e8219288f47
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 09:35:00 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:07 +0000

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

diff --git a/textproc/ocaml-yojson/Makefile b/textproc/ocaml-yojson/Makefile
index e092811b1ff8..7e5c401551f1 100644
--- a/textproc/ocaml-yojson/Makefile
+++ b/textproc/ocaml-yojson/Makefile
@@ -25,6 +25,12 @@ OPTIONS_DEFINE=	DOCS
 
 DUNE_INSTALL_TARGETS=	${OCAML_PACKAGES}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 	@${STRIP_CMD} \
 		${STAGEDIR}${PREFIX}/bin/ydump \



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