pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/ibus ibus: fix build on SunOS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4ea04e1ef8cf
branches:  trunk
changeset: 375807:4ea04e1ef8cf
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 27 11:48:16 2022 +0000

description:
ibus: fix build on SunOS

diffstat:

 inputmethod/ibus/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 57e83d8cd1ec -r 4ea04e1ef8cf inputmethod/ibus/Makefile
--- a/inputmethod/ibus/Makefile Sun Mar 27 10:57:59 2022 +0000
+++ b/inputmethod/ibus/Makefile Sun Mar 27 11:48:16 2022 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index