git: 8b58c5fd1c10 - main - devel/ocaml-lwt: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:30 UTC
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 \