summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-03-27 11:48:16 +0000
committertnn <tnn@pkgsrc.org>2022-03-27 11:48:16 +0000
commitb798a2221e54a40258fe24d18d656bfd3ba63cea (patch)
treef8f12655edd4cc57896c66f99ef200c94731eb46 /inputmethod
parent33c019fbef07d7e67fc0581195fed83c09356e6c (diff)
downloadpkgsrc-b798a2221e54a40258fe24d18d656bfd3ba63cea.tar.gz
ibus: fix build on SunOS
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/ibus/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/inputmethod/ibus/Makefile b/inputmethod/ibus/Makefile
index cbfb57a07e2..54272b1b035 100644
--- a/inputmethod/ibus/Makefile
+++ b/inputmethod/ibus/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.85 2022/03/15 13:13:36 tsutsui Exp $
+# $NetBSD: Makefile,v 1.86 2022/03/27 11:48:16 tnn Exp $
.include "Makefile.common"
@@ -54,6 +54,12 @@ CONF_FILES+= ${PREFIX}/share/examples/ibus/dconf/profile/ibus \
BUILDLINK_TRANSFORM+= rm:-Wno-unused-but-set-variable
.endif
+# Trigger .vala->.c regeneration of files that contain
+# "#if USE_GDK_WAYLAND" preprocessing directives since we
+# might be on a platform where gtk3 is not built with Wayland.
+pre-build:
+ ${TOUCH} ${WRKSRC}/ui/gtk3/*.vala
+
.include "../../devel/glib2/schemas.mk"
.include "../../devel/dconf/database.mk"
.include "../../devel/dconf/buildlink3.mk"