git: 6743e228c98a - main - net/unison248: fix build on powerpc

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

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

commit 6743e228c98a1894f2e2ec5bce16c592e9bf1054
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 16:42:28 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:21 +0000

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

diff --git a/net/unison248/Makefile b/net/unison248/Makefile
index 22c791439ca2..d3200507e0a9 100644
--- a/net/unison248/Makefile
+++ b/net/unison248/Makefile
@@ -63,6 +63,12 @@ USES+=			gettext-runtime gnome
 PLIST_SUB+=		X11=""
 .endif
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch-FSMONITOR-off:
 	@${REINPLACE_CMD} -e 's/-include fsmonitor/#&/' \
 		${WRKSRC}/Makefile.OCaml