git: 81d36973df95 - main - devel/ocaml-re: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:41 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=81d36973df95a634222620d0556e895e20813cc7
commit 81d36973df95a634222620d0556e895e20813cc7
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:50:21 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:01 +0000
devel/ocaml-re: fix build on powerpc
---
devel/ocaml-re/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-re/Makefile b/devel/ocaml-re/Makefile
index 34dd06214c0c..38bdd4707429 100644
--- a/devel/ocaml-re/Makefile
+++ b/devel/ocaml-re/Makefile
@@ -20,6 +20,12 @@ PORTDOCS= CHANGES.md LICENSE.md README.md
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})/" \