Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 21:46:56 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: ed281c3689a7 - main - devel/ocaml-react: fix build on powerpc
Message-ID:  <202501172146.50HLku6J062464@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=ed281c3689a780defec267ae413cb3acbd1e6bed

commit ed281c3689a780defec267ae413cb3acbd1e6bed
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 10:45:12 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:12 +0000

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

diff --git a/devel/ocaml-react/Makefile b/devel/ocaml-react/Makefile
index 77ae9332045e..feb9d329c9a1 100644
--- a/devel/ocaml-react/Makefile
+++ b/devel/ocaml-react/Makefile
@@ -16,6 +16,12 @@ RUN_DEPENDS=	cppo:devel/ocaml-cppo
 
 USES=		ocaml:findplist,ldconfig tar:tbz
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-build:
 	cd ${WRKSRC} && ocamlbuild react.cmxs react.cma react.a
 



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