git: ed281c3689a7 - main - devel/ocaml-react: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:46:56 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ed281c3689a780defec267ae413cb3acbd1e6bed
commit ed281c3689a780defec267ae413cb3acbd1e6bed
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-16 10:45:12 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-17 21:45:12 +0000
devel/ocaml-react: fix build on powerpc
---
devel/ocaml-react/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/ocaml-react/Makefile b/devel/ocaml-react/Makefile
index 77ae9332045e..feb9d329c9a1 100644
--- a/devel/ocaml-react/Makefile
+++ b/devel/ocaml-react/Makefile
@@ -16,6 +16,12 @@ RUN_DEPENDS= cppo:devel/ocaml-cppo
USES= ocaml:findplist,ldconfig tar:tbz
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
do-build:
cd ${WRKSRC} && ocamlbuild react.cmxs react.cma react.a