x11-toolkits/ocaml-labltk: fix build on powerpc

cc: error: invalid linker name in argument '-fuse-ld=bfd'
This commit is contained in:
Piotr Kubaj 2024-12-31 13:16:26 +01:00
parent 0f3e16d9b5
commit ed10c7be06

View file

@ -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' \