Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:37 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8254d45f2d41 - main - x11-toolkits/ocaml-lablgtk3: fix build on powerpc
Message-ID:  <202501122143.50CLhbFK098108@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8254d45f2d417d9d0f46d0e49303c88cc8d36fc1

commit 8254d45f2d417d9d0f46d0e49303c88cc8d36fc1
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 16:59:03 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:24 +0000

    x11-toolkits/ocaml-lablgtk3: fix build on powerpc
---
 x11-toolkits/ocaml-lablgtk3/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11-toolkits/ocaml-lablgtk3/Makefile b/x11-toolkits/ocaml-lablgtk3/Makefile
index 50e16ef7a012..79346615a833 100644
--- a/x11-toolkits/ocaml-lablgtk3/Makefile
+++ b/x11-toolkits/ocaml-lablgtk3/Makefile
@@ -47,6 +47,12 @@ GTKSPELL_LIB_DEPENDS=	libgtkspell3-3.so:textproc/gtkspell3 \
 			libenchant-2.so:textproc/enchant2
 GTKSPELL_VARS=		TARGETS+=lablgtk3-gtkspell3
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == powerpc
+USE_BINUTILS=	yes
+.endif
+
 do-build:
 	cd ${BUILD_WRKSRC} && dune build --verbose -p ${TARGETS:ts,} -j ${MAKE_JOBS_NUMBER}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122143.50CLhbFK098108>