git: 9f1d9cccd3f3 - main - math/facile: fix build on powerpc

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

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

commit 9f1d9cccd3f3022f14a2c4d359597af8caed680f
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 20:08:54 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:24 +0000

    math/facile: fix build on powerpc
---
 math/facile/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/math/facile/Makefile b/math/facile/Makefile
index 63fcaa159468..445ac07df1ec 100644
--- a/math/facile/Makefile
+++ b/math/facile/Makefile
@@ -16,6 +16,12 @@ USES=		gmake ocaml
 HAS_CONFIGURE=	yes
 ALL_TARGET=	compile
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-configure:
 	${REINPLACE_CMD} -e "s,make,${MAKE_CMD},; \
 		s,cp,${INSTALL_DATA},;\