git: 63e09e12a222 - main - devel/ocaml-annexlib: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:38 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=63e09e12a22223bc544725157eb28ec65dfa9385
commit 63e09e12a22223bc544725157eb28ec65dfa9385
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 12:02:13 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:25:09 +0000
devel/ocaml-annexlib: fix build on powerpc
---
devel/ocaml-annexlib/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-annexlib/Makefile b/devel/ocaml-annexlib/Makefile
index 666498f1ebd8..6a46ab8a33db 100644
--- a/devel/ocaml-annexlib/Makefile
+++ b/devel/ocaml-annexlib/Makefile
@@ -26,6 +26,12 @@ OPTIONS_DEFINE= DOCS
MAKE_JOBS_UNSAFE= yes
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
cd ${STAGEDIR}${PREFIX} && \
${STRIP_CMD} lib/ocaml/site-lib/annexlib/dllannexlib_stubs.so