git: 946094689277 - main - devel/ocaml-ppx-tools: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 22 Jan 2025 11:27:45 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=946094689277678ca9bb44deb548f31cc0c3d982

commit 946094689277678ca9bb44deb548f31cc0c3d982
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 12:19:21 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:25:19 +0000

    devel/ocaml-ppx-tools: fix build on powerpc
---
 devel/ocaml-ppx-tools/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/ocaml-ppx-tools/Makefile b/devel/ocaml-ppx-tools/Makefile
index feefa9165dcd..b51d52a8bda0 100644
--- a/devel/ocaml-ppx-tools/Makefile
+++ b/devel/ocaml-ppx-tools/Makefile
@@ -25,4 +25,10 @@ PORTDOCS=	CHANGES LICENSE README.md
 
 OPTIONS_DEFINE= DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 .include <bsd.port.mk>