git: f2e5a3618813 - main - textproc/htmlc: fix build on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Fri, 17 Jan 2025 21:47:08 UTC
The branch main has been updated by pkubaj:

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

commit f2e5a36188133fe9132a0e602e2d167fa9d95908
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 13:32:09 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:29 +0000

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

diff --git a/textproc/htmlc/Makefile b/textproc/htmlc/Makefile
index f68e0abd7d6b..c81a4658e38b 100644
--- a/textproc/htmlc/Makefile
+++ b/textproc/htmlc/Makefile
@@ -21,6 +21,12 @@ PORTDOCS=	LICENSE INSTALL README JoeCaml.gif rocq.gif copyright-eng.htm \
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-patch:
 	${RM} ${WRKSRC}/doc/Makefile
 	${TOUCH} ${WRKSRC}/doc/Makefile