git: 1ae4f689685c - main - textproc/ocaml-csv: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 17 Jan 2025 21:47:12 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1ae4f689685c8fdd3abc425af7b8e618e253d358

commit 1ae4f689685c8fdd3abc425af7b8e618e253d358
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 13:41:04 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:34 +0000

    textproc/ocaml-csv: fix build on powerpc
---
 textproc/ocaml-csv/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/textproc/ocaml-csv/Makefile b/textproc/ocaml-csv/Makefile
index 160323eaedff..f66f32a26e09 100644
--- a/textproc/ocaml-csv/Makefile
+++ b/textproc/ocaml-csv/Makefile
@@ -19,4 +19,10 @@ TEST_TARGET=	tests
 
 MAKE_JOBS_UNSAFE=	yes
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 .include <bsd.port.mk>