Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2025 11:27:30 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: 8b58c5fd1c10 - main - devel/ocaml-lwt: fix build on powerpc
Message-ID:  <202501221127.50MBRUOR046217@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=8b58c5fd1c106174dc63f0992ada77892eb033d4

commit 8b58c5fd1c106174dc63f0992ada77892eb033d4
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 11:14:26 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:24:58 +0000

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

diff --git a/devel/ocaml-lwt/Makefile b/devel/ocaml-lwt/Makefile
index 9b1536d20446..a7b374cb1619 100644
--- a/devel/ocaml-lwt/Makefile
+++ b/devel/ocaml-lwt/Makefile
@@ -34,6 +34,12 @@ OPTIONS_DEFINE=	DOCS
 
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-configure:
 	@(cd ${WRKSRC}; \
 	${SETENVI} ${WRK_ENV} ${SCRIPT_ENV} ${DUNE_CMD} exec \



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