Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 14:00:52 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e62dd8f16655 - main - devel/ocaml-ocamlbuild: fix build on powerpc
Message-ID:  <202412311400.4BVE0qbT053723@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311400.4BVE0qbT053723>