From 60d4f78a66d803377c96670123ce9f47e03698d6 Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Fri, 3 Jan 2025 15:13:38 +0100 Subject: [PATCH] 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 + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + do-build: cd ${BUILD_WRKSRC} && dune build --verbose -j ${MAKE_JOBS_NUMBER} -p cairo2