git: dc1e868bc916 - main - math/abella: fix build on powerpc

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

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

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

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

diff --git a/math/abella/Makefile b/math/abella/Makefile
index 564e4860e4e1..e4924562dd5c 100644
--- a/math/abella/Makefile
+++ b/math/abella/Makefile
@@ -21,6 +21,12 @@ USES=		gmake
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-install:
 	@${INSTALL_PROGRAM} ${WRKSRC}/_build/default/src/${PORTNAME}.exe ${STAGEDIR}${PREFIX}/bin/${PORTNAME}