From b798a2221e54a40258fe24d18d656bfd3ba63cea Mon Sep 17 00:00:00 2001 From: tnn Date: Sun, 27 Mar 2022 11:48:16 +0000 Subject: ibus: fix build on SunOS --- inputmethod/ibus/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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" -- cgit v1.2.3