From 978e3361e25f1fbc23ce3b58bcb4da5d900885a2 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Mon, 6 Nov 2006 12:12:57 +0000 Subject: [PATCH] I don't want evolution-data-server to be loaded whenever I click on the clock applet. Add an option for disabling the eds code even if Evolution is installed. --- x11/gnome-panel/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/x11/gnome-panel/Makefile b/x11/gnome-panel/Makefile index 061c0721c5cc..223b4552a003 100644 --- a/x11/gnome-panel/Makefile +++ b/x11/gnome-panel/Makefile @@ -44,6 +44,8 @@ GCONF_SCHEMAS= clock.schemas fish.schemas \ panel-toplevel.schemas window-list.schemas \ workspace-switcher.schemas +OPTIONS= EVOLUTION "use the Evolution calendar if installed" on + .if defined(PACKAGE_BUILDING) || defined(PARALLEL_PACKAGE_BUILD) .undef WITHOUT_GNOME WITH_GNOME= yes @@ -51,7 +53,7 @@ WITH_GNOME= yes .include -.if ${HAVE_GNOME:Mevolutiondataserver}!="" +.if defined(WITH_EVOLUTION) && ${HAVE_GNOME:Mevolutiondataserver}!="" USE_GNOME+= evolutiondataserver CONFIGURE_ARGS+=--enable-eds .else