git: 68fe66b024fc - main - textproc/ocaml-spelll: fix build on powerpc

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

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

commit 68fe66b024fc5a08135f21c50909b348fa27eac5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 15:04:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:04 +0000

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

diff --git a/textproc/ocaml-spelll/Makefile b/textproc/ocaml-spelll/Makefile
index af038ac3aac7..d9efb258dafd 100644
--- a/textproc/ocaml-spelll/Makefile
+++ b/textproc/ocaml-spelll/Makefile
@@ -20,6 +20,12 @@ PORTDOCS=	LICENSE README.md
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} \
 		-e "s/(lang dune.*/&\n(version ${DISTVERSION})/" \