devel/ocaml-compiler-libs: fix build on powerpc

This commit is contained in:
Piotr Kubaj 2025-01-02 15:00:18 +01:00
parent 9180179bfd
commit 63c1b6f524

View file

@ -19,6 +19,12 @@ PORTDOCS= CHANGES.md LICENSE.md README.org
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
post-patch:
@${REINPLACE_CMD} \
-e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \