From aac7ecb0f66f8625ef9e4d2b0b802676b384ca2c Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 16 Jan 2025 11:47:36 +0100 Subject: [PATCH] math/ocaml-zarith: fix build on powerpc --- math/ocaml-zarith/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/math/ocaml-zarith/Makefile b/math/ocaml-zarith/Makefile index 4e3f49ad32ee..c59054723086 100644 --- a/math/ocaml-zarith/Makefile +++ b/math/ocaml-zarith/Makefile @@ -32,6 +32,12 @@ OPTIONS_DEFINE= DOCS DOCS_ALL_TARGET=doc +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-install: @${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/${PORTNAME}/dllzarith.so \