Date: Tue, 31 Dec 2024 14:00:51 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: 26627706eca8 - main - devel/ocaml-dune: fix build on powerpc Message-ID: <202412311400.4BVE0paC053680@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=26627706eca89556a52f4734866802f00c5c7623 commit 26627706eca89556a52f4734866802f00c5c7623 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-12-31 11:39:14 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-12-31 14:00:00 +0000 devel/ocaml-dune: fix build on powerpc cc: error: invalid linker name in argument '-fuse-ld=bfd' --- devel/ocaml-dune/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/ocaml-dune/Makefile b/devel/ocaml-dune/Makefile index 447289167f08..a37188e37d72 100644 --- a/devel/ocaml-dune/Makefile +++ b/devel/ocaml-dune/Makefile @@ -28,6 +28,12 @@ DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +LLD_UNSAFE= yes +.endif + post-patch: # FreeBSD-specific hack, do not nag upstream (for now) @${REINPLACE_CMD} -e '/doc_root = Path.relative/ \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311400.4BVE0paC053680>