Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2025 11:27:32 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: ce5e8fc8d46e - main - devel/ocaml-topkg: fix build on powerpc
Message-ID:  <202501221127.50MBRWFP046285@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=ce5e8fc8d46e7cdb09b73b7dbf9c4a9570d010fb

commit ce5e8fc8d46e7cdb09b73b7dbf9c4a9570d010fb
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 11:53:31 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:25:01 +0000

    devel/ocaml-topkg: fix build on powerpc
---
 devel/ocaml-topkg/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/ocaml-topkg/Makefile b/devel/ocaml-topkg/Makefile
index 96f595db4254..a4e0adb4c0f8 100644
--- a/devel/ocaml-topkg/Makefile
+++ b/devel/ocaml-topkg/Makefile
@@ -19,6 +19,12 @@ USES=		ocaml:findlib tar:tbz
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-build:
 	cd ${BUILD_WRKSRC} && ocaml pkg/pkg.ml build
 



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