git: 35de4d49b396 - main - devel/ocaml-parmap: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:33 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=35de4d49b396aff2a8b58ed883157d08d32db9c5
commit 35de4d49b396aff2a8b58ed883157d08d32db9c5
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 11:54:53 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:25:03 +0000
devel/ocaml-parmap: fix build on powerpc
---
devel/ocaml-parmap/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-parmap/Makefile b/devel/ocaml-parmap/Makefile
index 0352d6cc8801..23b665773921 100644
--- a/devel/ocaml-parmap/Makefile
+++ b/devel/ocaml-parmap/Makefile
@@ -20,6 +20,12 @@ USES= gmake ocaml:findlib,ldconfig
TARGETS= ${PORTNAME}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
do-build:
cd ${BUILD_WRKSRC} && dune build --verbose -p ${TARGETS:ts,} -j ${MAKE_JOBS_NUMBER}