git: be8dee095415 - main - archivers/ocaml-zip: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:03 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=be8dee095415d1435bfeb90e8bfbd0bde72c8869
commit be8dee095415d1435bfeb90e8bfbd0bde72c8869
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 12:57:24 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:21 +0000
archivers/ocaml-zip: fix build on powerpc
---
archivers/ocaml-zip/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/archivers/ocaml-zip/Makefile b/archivers/ocaml-zip/Makefile
index d57542721d11..35f9b67613b3 100644
--- a/archivers/ocaml-zip/Makefile
+++ b/archivers/ocaml-zip/Makefile
@@ -18,6 +18,12 @@ GH_ACCOUNT= xavierleroy
GH_PROJECT= camlzip
GH_TAGNAME= rel${PORTVERSION:S/.//}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/zip.cmxs \
${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/zip/dllcamlzip.so