git: ee37bf5e8cbf - main - devel/ocaml-octavius: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:42:37 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ee37bf5e8cbf6be031f37d32e8d63e0ee1200ddf
commit ee37bf5e8cbf6be031f37d32e8d63e0ee1200ddf
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-02 14:20:08 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:35:55 +0000
devel/ocaml-octavius: fix build on powerpc
---
devel/ocaml-octavius/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-octavius/Makefile b/devel/ocaml-octavius/Makefile
index 084ffcaf5a3e..d4d94e2c30e6 100644
--- a/devel/ocaml-octavius/Makefile
+++ b/devel/ocaml-octavius/Makefile
@@ -22,6 +22,12 @@ OPTIONS_DEFINE= DOCS
SA_DIR= ${LOCALBASE}/${OCAML_SITELIBDIR}
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} \
-e "s/(lang dune 1.11)/(lang dune 2.5)/" \