Hello everyone!
This patch helps to remove startup-notification (+gconf/ORBit)
dependency from net/pidgin.
So I added a new flavor to Makefile.
This should make pidgin less bloated.
Here's a patch:
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/pidgin/Makefile,v
retrieving revision 1.29
diff -u -p -r1.29 Makefile
--- Makefile 24 Sep 2008 07:13:43 -0000 1.29
+++ Makefile 4 Oct 2008 09:44:38 -0000
@@ -33,14 +33,11 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
MODULES= devel/gettext textproc/intltool
-BUILD_DEPENDS= :gconf2-*:devel/gconf2 \
- :dbus-python-*:x11/dbus-python
+BUILD_DEPENDS= :dbus-python-*:x11/dbus-python
RUN_DEPENDS+= :dbus-python-*:x11/dbus-python \
:py-gtk2-*:x11/py-gtk2 \
- :desktop-file-utils-*:devel/desktop-file-utils \
- :gconf2-*:devel/gconf2
+ :desktop-file-utils-*:devel/desktop-file-utils
LIB_DEPENDS+= gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
- startup-notification-1::devel/startup-notification \
silc.>=7,silcclient.>=5::devel/silc-toolkit \
meanwhile::net/meanwhile \
gadu::net/libgadu \
@@ -75,7 +72,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/
MAKE_FLAGS+= CFLAGS="${CFLAGS}"
-FLAVORS= audio debug gtkspell
+FLAVORS= audio debug gtkspell startup_notification
FLAVOR?=
.if ${FLAVOR:L:Maudio}
@@ -97,6 +94,14 @@ LIB_DEPENDS+= gtkspell::textproc/gtkspel
WANTLIB+= aspell
.else
CONFIGURE_ARGS+=--disable-gtkspell
+.endif
+
+.if ${FLAVOR:L:Mstartup_notification}
+BUILD_DEPENDS= :gconf2-*:devel/gconf2
+RUN_DEPENDS+= :gconf2-*:devel/gconf2 \
+ startup-notification-1::devel/startup-notification
+.else
+CONFIGURE_ARGS+= --disable-startup-notification
.endif
post-extract:
--
Vladimir Kirillov