git: 7254a8aa916a - main - textproc/hevea: fix build on powerpc

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

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

commit 7254a8aa916af9cebea28058a342544c259164cc
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-07 08:20:22 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:31 +0000

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

diff --git a/textproc/hevea/Makefile b/textproc/hevea/Makefile
index 451f00f19882..65fb5fb21568 100644
--- a/textproc/hevea/Makefile
+++ b/textproc/hevea/Makefile
@@ -20,6 +20,12 @@ OPTIONS_DEFINE=	DOCS
 DOCS_DISTFILES+=	${PORTNAME}-${PORTVERSION}-manual.pdf \
 			${PORTNAME}-${PORTVERSION}-manual.tar.gz
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/esponja
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bibhva