git: c374c227be75 - main - devel/ocaml-camomile: fix build on powerpc

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

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

commit c374c227be75c5daa031287de578c17b9a74511f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 14:51:58 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:40 +0000

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

diff --git a/devel/ocaml-camomile/Makefile b/devel/ocaml-camomile/Makefile
index 9324d3b6fce1..eb18700c9469 100644
--- a/devel/ocaml-camomile/Makefile
+++ b/devel/ocaml-camomile/Makefile
@@ -28,6 +28,12 @@ OPTIONS_DEFINE=	DOCS
 
 SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e '/^INSTALL_ARGS/ \
 		s:$$: $$(if $$(LIBDIR),--libdir $$(LIBDIR),):' \