git: 5249b35092b4 - main - textproc/ocaml-expat: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:19 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5249b35092b47d1426826638be9393ca4795ab5f
commit 5249b35092b47d1426826638be9393ca4795ab5f
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 14:52:46 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:43 +0000
textproc/ocaml-expat: fix build on powerpc
---
textproc/ocaml-expat/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/textproc/ocaml-expat/Makefile b/textproc/ocaml-expat/Makefile
index 3cf33f9c5e31..bf2ada1ae2de 100644
--- a/textproc/ocaml-expat/Makefile
+++ b/textproc/ocaml-expat/Makefile
@@ -21,6 +21,12 @@ ALL_TARGET= all allopt doc
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}