git: 182125358219 - main - devel/ocaml-xstr: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:05 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=182125358219984baf0168385f06448e43f68e93
commit 182125358219984baf0168385f06448e43f68e93
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 13:06:25 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:25 +0000
devel/ocaml-xstr: fix build on powerpc
---
devel/ocaml-xstr/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-xstr/Makefile b/devel/ocaml-xstr/Makefile
index 1cc981b77952..a4202c3a36bc 100644
--- a/devel/ocaml-xstr/Makefile
+++ b/devel/ocaml-xstr/Makefile
@@ -17,4 +17,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
ALL_TARGET= all opt
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
.include <bsd.port.mk>