Date: Tue, 31 Dec 2024 14:00:54 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: ed10c7be06d7 - main - x11-toolkits/ocaml-labltk: fix build on powerpc Message-ID: <202412311400.4BVE0shg053816@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=ed10c7be06d7eb33a35636b1bf29e2d1ef25f4e8 commit ed10c7be06d7eb33a35636b1bf29e2d1ef25f4e8 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-12-31 12:16:26 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-12-31 14:00:05 +0000 x11-toolkits/ocaml-labltk: fix build on powerpc cc: error: invalid linker name in argument '-fuse-ld=bfd' --- x11-toolkits/ocaml-labltk/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-toolkits/ocaml-labltk/Makefile b/x11-toolkits/ocaml-labltk/Makefile index 508f711bb02b..87edccbe0e36 100644 --- a/x11-toolkits/ocaml-labltk/Makefile +++ b/x11-toolkits/ocaml-labltk/Makefile @@ -29,6 +29,12 @@ MAKE_JOBS_UNSAFE= yes ALL_TARGET= all opt +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +LLD_UNSAFE= yes +.endif + post-patch: @${REINPLACE_CMD} \ -e '/exec $$(INSTALLDIR)/s|$$(INSTALLDIR)|$$(PREFIX)/$$(INSTALLDIR_REL)|g' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311400.4BVE0shg053816>