Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 14:00:59 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: 931fdd5cd8a1 - main - math/ocaml-num: fix build on powerpc
Message-ID:  <202412311400.4BVE0xlL054021@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=931fdd5cd8a1c6c85ac84de377a87c24bb0ad9a1

commit 931fdd5cd8a1c6c85ac84de377a87c24bb0ad9a1
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-31 13:52:12 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-31 14:00:11 +0000

    math/ocaml-num: fix build on powerpc
    
    cc: error: invalid linker name in argument '-fuse-ld=bfd'
---
 math/ocaml-num/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/math/ocaml-num/Makefile b/math/ocaml-num/Makefile
index 4b2387b1399f..a9b4ef234367 100644
--- a/math/ocaml-num/Makefile
+++ b/math/ocaml-num/Makefile
@@ -20,4 +20,10 @@ MAKE_ENV=	OCAMLFIND_DESTDIR="${STAGEDIR}${OCAMLFIND_DESTDIR}"
 MAKE_JOBS_UNSAFE=	yes
 TEST_TARGET=	test
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+LLD_UNSAFE=	yes
+.endif
+
 .include <bsd.port.mk>



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