Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:47:03 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: be8dee095415 - main - archivers/ocaml-zip: fix build on powerpc
Message-ID:  <202501172147.50HLl3ln062737@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501172147.50HLl3ln062737>