summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2009-05-17 05:06:02 +0000
committerobache <obache@pkgsrc.org>2009-05-17 05:06:02 +0000
commit639850f5cdb324518110b6dee3c616c51f79e569 (patch)
treebf24c5fed34a489a925633a6f1523c9b1b85a7a9 /inputmethod
parentfa8b55fbc6792a48d0c75fd1a12856b2f127fa31 (diff)
downloadpkgsrc-639850f5cdb324518110b6dee3c616c51f79e569.tar.gz
Add workaround to fix build failure with gnome option
(gnome-panel>=2.25.3, libpanel-applet doesn't depend on libgnomeui anymore), Fixes PR 41071.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/uim/options.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/inputmethod/uim/options.mk b/inputmethod/uim/options.mk
index ce48be8d215..aeb9aefe71f 100644
--- a/inputmethod/uim/options.mk
+++ b/inputmethod/uim/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.15 2009/01/23 13:40:32 obache Exp $
+# $NetBSD: options.mk,v 1.16 2009/05/17 05:06:02 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.uim
#PKG_SUPPORTED_OPTIONS= anthy canna eb gnome gtk kde m17nlib qt prime sj3 uim-fep wnn xim
@@ -57,6 +57,9 @@ CONFIGURE_ARGS+= --with-eb
.if !empty(PKG_OPTIONS:Mgnome)
. include "../../x11/gnome-panel/buildlink3.mk"
+. include "../../devel/libgnomeui/buildlink3.mk"
+CFLAGS+= -I$(BUILDLINK_PREFIX.libgnomeui)/include/libgnomeui-2.0
+BUILDLINK_TRANSFORM+= l:panel-applet-2:panel-applet-2:gnomeui-2
PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnome-applet