From 1cf9ad81285de83d1f8ce1593f334eb1cc02223c Mon Sep 17 00:00:00 2001 From: Piotr Kubaj Date: Thu, 16 Jan 2025 14:34:30 +0100 Subject: [PATCH] lang/ocaml-camlidl: fix build on powerpc --- lang/ocaml-camlidl/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lang/ocaml-camlidl/Makefile b/lang/ocaml-camlidl/Makefile index e427ba167eaf..940c462429b5 100644 --- a/lang/ocaml-camlidl/Makefile +++ b/lang/ocaml-camlidl/Makefile @@ -23,6 +23,12 @@ DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} OPTIONS_DEFINE= DOCS DOCS_BUILD_DEPENDS= hevea>=0:textproc/hevea +.include + +.if ${ARCH} == powerpc +USE_BINUTILS= yes +.endif + post-patch: @${LN} -sf ${WRKSRC}/config/Makefile.unix ${WRKSRC}/config/Makefile