Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2025 11:27:33 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: 35de4d49b396 - main - devel/ocaml-parmap: fix build on powerpc
Message-ID:  <202501221127.50MBRX9g046319@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=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}
 



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