git: 46f57fa01c2f - main - devel/ocaml-result: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:43:24 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=46f57fa01c2fb85125fd3f8ad6455db9d076ed7c
commit 46f57fa01c2fb85125fd3f8ad6455db9d076ed7c
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 13:10:23 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:05 +0000
devel/ocaml-result: fix build on powerpc
---
devel/ocaml-result/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-result/Makefile b/devel/ocaml-result/Makefile
index 80c83789c1a8..53b1b72c8083 100644
--- a/devel/ocaml-result/Makefile
+++ b/devel/ocaml-result/Makefile
@@ -22,6 +22,12 @@ MAKE_ENV= LIBDIR=${PREFIX}/${OCAML_SITELIBDIR}
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/result/result.cmxs