git: ba2551057f54 - main - graphics/ocaml-lablgl: fix build on powerpc
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 12 Jan 2025 21:43:32 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ba2551057f54f815a4732396cbfed593269f780d
commit ba2551057f54f815a4732396cbfed593269f780d
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 15:28:56 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:16 +0000
graphics/ocaml-lablgl: fix build on powerpc
---
graphics/ocaml-lablgl/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/graphics/ocaml-lablgl/Makefile b/graphics/ocaml-lablgl/Makefile
index c1b227198073..be310f7adeb4 100644
--- a/graphics/ocaml-lablgl/Makefile
+++ b/graphics/ocaml-lablgl/Makefile
@@ -35,6 +35,10 @@ THREADS_DESC= Threaded Tcl/Tk (must match lang/ocaml)
.include <bsd.port.options.mk>
+.if ${ARCH} == powerpc
+USE_BINUTILS= yes
+.endif
+
.if ${PORT_OPTIONS:MTHREADS}
THR_LD= -lpthread
.endif