Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:44 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: 60d4f78a66d8 - main - graphics/ocaml-cairo: fix build on powerpc
Message-ID:  <202501122142.50CLgipw095847@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=60d4f78a66d803377c96670123ce9f47e03698d6

commit 60d4f78a66d803377c96670123ce9f47e03698d6
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-03 14:13:38 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:06 +0000

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

diff --git a/graphics/ocaml-cairo/Makefile b/graphics/ocaml-cairo/Makefile
index 7a18b5dc66a2..0e3b70da9116 100644
--- a/graphics/ocaml-cairo/Makefile
+++ b/graphics/ocaml-cairo/Makefile
@@ -25,6 +25,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 --verbose -j ${MAKE_JOBS_NUMBER} -p cairo2
 



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