archivers/ocaml-zip: fix build on powerpc

This commit is contained in:
Piotr Kubaj 2025-01-16 13:57:24 +01:00
parent 8785cb24c5
commit be8dee0954

View file

@ -18,6 +18,12 @@ GH_ACCOUNT= xavierleroy
GH_PROJECT= camlzip GH_PROJECT= camlzip
GH_TAGNAME= rel${PORTVERSION:S/.//} GH_TAGNAME= rel${PORTVERSION:S/.//}
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USE_BINUTILS= yes
.endif
post-install: post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/zip.cmxs \ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/zip.cmxs \
${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/dllcamlzip.so ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/dllcamlzip.so