git: 1f2454e41326 - main - devel/ocaml-ppx_blob: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Jan 2025 11:27:37 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1f2454e413268a0a650282b8016154e53d8568c5
commit 1f2454e413268a0a650282b8016154e53d8568c5
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-19 11:59:48 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-22 11:25:08 +0000
devel/ocaml-ppx_blob: fix build on powerpc
---
devel/ocaml-ppx_blob/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-ppx_blob/Makefile b/devel/ocaml-ppx_blob/Makefile
index 208cd00d9033..00e3ae2d4386 100644
--- a/devel/ocaml-ppx_blob/Makefile
+++ b/devel/ocaml-ppx_blob/Makefile
@@ -27,6 +27,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)\n(version ${DISTVERSION})/" \