Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42: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: 402e9079832d - main - devel/ocaml-res: fix build on powerpc
Message-ID:  <202501122142.50CLgwCH096400@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=402e9079832d4d7d54568d5cea00d0f953203b1d

commit 402e9079832d4d7d54568d5cea00d0f953203b1d
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 20:25:41 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:26 +0000

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

diff --git a/devel/ocaml-res/Makefile b/devel/ocaml-res/Makefile
index c17c633d1d01..8c16c5dfe079 100644
--- a/devel/ocaml-res/Makefile
+++ b/devel/ocaml-res/Makefile
@@ -22,6 +22,12 @@ EXAMPLESDIR=	${OCAML_EXAMPLESDIR}/${PORTNAME}
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-build:
 	cd ${BUILD_WRKSRC} && dune build -p ${PORTNAME} -j ${MAKE_JOBS_NUMBER}
 



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