git: 676db6d2d839 - main - print/texvc: fix build on powerpc

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

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

commit 676db6d2d8399f7c6abec3953b0e9e929888582a
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 14:13:18 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:11 +0000

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

diff --git a/print/texvc/Makefile b/print/texvc/Makefile
index 4ad1b7b81621..457bc0db758d 100644
--- a/print/texvc/Makefile
+++ b/print/texvc/Makefile
@@ -24,6 +24,12 @@ RASTER_USE=	TEX=latex,dvipsk
 
 MAKE_JOBS_UNSAFE=	yes
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/texvc ${STAGEDIR}${PREFIX}/bin