git: 2c65fa8d3507 - main - archivers/ocaml-bz2: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:43:20 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2c65fa8d3507619751f3b91311bd252eb7d2fc5d
commit 2c65fa8d3507619751f3b91311bd252eb7d2fc5d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 13:01:40 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:59 +0000
archivers/ocaml-bz2: fix build on powerpc
---
archivers/ocaml-bz2/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/archivers/ocaml-bz2/Makefile b/archivers/ocaml-bz2/Makefile
index aeb79dfde263..186408e02e1e 100644
--- a/archivers/ocaml-bz2/Makefile
+++ b/archivers/ocaml-bz2/Makefile
@@ -22,6 +22,12 @@ PORTEXAMPLES= bunzip2.ml
OPTIONS_DEFINE= DOCS EXAMPLES
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/bz2/bz2.cmxs \