Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 14:00:58 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: e5858d310fb3 - main - devel/ocaml-cmdliner: fix build on powerpc
Message-ID:  <202412311400.4BVE0wcd053969@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=e5858d310fb33d9ddb2cac392583683b412f0f11

commit e5858d310fb33d9ddb2cac392583683b412f0f11
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-12-31 13:19:27 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-12-31 14:00:10 +0000

    devel/ocaml-cmdliner: fix build on powerpc
    
    sh: /usr/local/bin/as: not found
---
 devel/ocaml-cmdliner/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/ocaml-cmdliner/Makefile b/devel/ocaml-cmdliner/Makefile
index 59c8d150caaa..bd199ac33246 100644
--- a/devel/ocaml-cmdliner/Makefile
+++ b/devel/ocaml-cmdliner/Makefile
@@ -22,4 +22,10 @@ INSTALL_TARGET=	install
 OPTIONS_DEFINE=	DOCS
 DOCS_INSTALL_TARGET=	install-doc
 
+.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.4BVE0wcd053969>