devel/ocaml-magic: fix build on powerpc

This commit is contained in:
Piotr Kubaj 2025-01-16 15:52:29 +01:00
parent c374c227be
commit 9424bb766c

View file

@ -25,6 +25,12 @@ EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/magic/dllmagic_stubs.so