From b5252f256d7998909c68aceb0ce1b3785dfbefbf Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Mon, 6 Jan 2025 04:54:27 +0100 Subject: [PATCH] math/ocaml-ocamlgraph: fix build on powerpc --- math/ocaml-ocamlgraph/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/ocaml-ocamlgraph/Makefile b/math/ocaml-ocamlgraph/Makefile index 2ef81dbd77a4..f49a94d2f891 100644 --- a/math/ocaml-ocamlgraph/Makefile +++ b/math/ocaml-ocamlgraph/Makefile @@ -21,6 +21,12 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-patch: @${REINPLACE_CMD} \ -e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \