git: b5252f256d79 - main - math/ocaml-ocamlgraph: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:47 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b5252f256d7998909c68aceb0ce1b3785dfbefbf
commit b5252f256d7998909c68aceb0ce1b3785dfbefbf
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 03:54:27 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:11 +0000
math/ocaml-ocamlgraph: fix build on powerpc
---
math/ocaml-ocamlgraph/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/math/ocaml-ocamlgraph/Makefile b/math/ocaml-ocamlgraph/Makefile
index 2ef81dbd77a4..f49a94d2f891 100644
--- a/math/ocaml-ocamlgraph/Makefile
+++ b/math/ocaml-ocamlgraph/Makefile
@@ -21,6 +21,12 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} \
-e "s/(name ${PORTNAME})/&\n (version ${PORTVERSION})/" \