CVS commit: [pkgsrc-2026Q2] pkgsrc/inputmethod/ibus

"Benny Siegert" <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	bsiegert
Date:		Sun Aug  9 18:36:13 UTC 2026

Modified Files:
	pkgsrc/inputmethod/ibus [pkgsrc-2026Q2]: Makefile

Log Message:
Pullup ticket #7223 - requested by tsutsui
inputmethod/ibus: build fix

Revisions pulled up:
- inputmethod/ibus/Makefile                                     1.124

---
   Module Name:    pkgsrc
   Committed By:   tsutsui
   Date:           Wed Jul 22 17:14:57 UTC 2026

   Modified Files:
           pkgsrc/inputmethod/ibus: Makefile

   Log Message:
   ibus: add kludge to fix bulk build on NetBSD/amd64 10.0

   See PR pkg/60476 for details.
   XXX: still fails on builds on hosts with xserver set using official gtk3
        binary package


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.123.2.1 pkgsrc/inputmethod/ibus/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 924 B)
Modified files:

Index: pkgsrc/inputmethod/ibus/Makefile
diff -u pkgsrc/inputmethod/ibus/Makefile:1.123 pkgsrc/inputmethod/ibus/Makefile:1.123.2.1
--- pkgsrc/inputmethod/ibus/Makefile:1.123	Thu Jun 11 07:17:13 2026
+++ pkgsrc/inputmethod/ibus/Makefile	Sun Aug  9 18:36:12 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.123 2026/06/11 07:17:13 wiz Exp $
+# $NetBSD: Makefile,v 1.123.2.1 2026/08/09 18:36:12 bsiegert Exp $
 
 DISTNAME=	ibus-1.5.34
 PKGNAME=	${DISTNAME:S/-rc/rc/:S/-beta/beta/}
@@ -78,7 +78,10 @@ BUILDLINK_TRANSFORM+=	rm:-Wno-unused-but
 # wayland or not
 PLIST_VARS+=		wayland
 .include "../../devel/wayland/platform.mk"
-.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+# XXX PR pkg/60476
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" && \
+    (${OPSYS} != "NetBSD" || ${X11_TYPE} != "native" || \
+     exists(${X11BASE}/lib/modules/libglamoregl.so))
 CONFIGURE_ARGS+=	--enable-wayland
 PLIST.wayland=		yes
 .else
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.