git: e62dd8f16655 - main - devel/ocaml-ocamlbuild: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 14:00:52 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e62dd8f16655ef735844b1ca485e2308600330e7
commit e62dd8f16655ef735844b1ca485e2308600330e7
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-31 11:55:07 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-31 14:00:02 +0000
devel/ocaml-ocamlbuild: fix build on powerpc
sh: /usr/local/bin/as: not found
---
devel/ocaml-ocamlbuild/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-ocamlbuild/Makefile b/devel/ocaml-ocamlbuild/Makefile
index 02dbe4ae6c86..337e2ca28c14 100644
--- a/devel/ocaml-ocamlbuild/Makefile
+++ b/devel/ocaml-ocamlbuild/Makefile
@@ -19,4 +19,10 @@ MAKE_ENV= OCAMLBUILD_LIBDIR=${PREFIX}/${OCAML_LIBDIR}
TEST_TARGET= test
TEST_ENV= VERBOSE=1
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
.include <bsd.port.mk>