git: 7deb22af2d35 - main - devel/ocaml-base: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:46:51 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7deb22af2d35f8ec7a715bb1ed3df2e2a13abf68
commit 7deb22af2d35f8ec7a715bb1ed3df2e2a13abf68
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 09:31:15 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:06 +0000
devel/ocaml-base: fix build on powerpc
---
devel/ocaml-base/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-base/Makefile b/devel/ocaml-base/Makefile
index ec3488916f2a..338a46e25638 100644
--- a/devel/ocaml-base/Makefile
+++ b/devel/ocaml-base/Makefile
@@ -26,6 +26,12 @@ OPTIONS_DEFINE= DOCS
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install:
@${STRIP_CMD} \
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/base.cmxs \