git: 2ce814c3b714 - main - devel/ocaml-curses: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:50 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2ce814c3b714ab18064ba31200603bb64980053d
commit 2ce814c3b714ab18064ba31200603bb64980053d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 04:11:19 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:14 +0000
devel/ocaml-curses: fix build on powerpc
---
devel/ocaml-curses/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-curses/Makefile b/devel/ocaml-curses/Makefile
index 11a1542bc4d5..861759614c7c 100644
--- a/devel/ocaml-curses/Makefile
+++ b/devel/ocaml-curses/Makefile
@@ -19,6 +19,12 @@ PORTDOCS= CHANGES.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})/" \