summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-01-19 20:02:40 +0000
committerdrochner <drochner@pkgsrc.org>2010-01-19 20:02:40 +0000
commit70544823cf63721370bd587b5cb19e6a10082e87 (patch)
treea9aa7468f2128406a0b5182fce4f4e9d3f6405f5 /net
parent7b1c6d3f5d2ac3b30172b7f6aa2f94542c8b6595 (diff)
downloadpkgsrc-70544823cf63721370bd587b5cb19e6a10082e87.tar.gz
make use of "avahi" an option, default to "off"
(because we don't have nss support for it, and it conflicts with "mdnsd" on NetBSD-current) bump PKGREVISION
Diffstat (limited to 'net')
-rw-r--r--net/vinagre/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/net/vinagre/Makefile b/net/vinagre/Makefile
index c8524b5752f..8d1a4781bfe 100644
--- a/net/vinagre/Makefile
+++ b/net/vinagre/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2010/01/18 09:59:21 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2010/01/19 20:02:40 drochner Exp $
#
DISTNAME= vinagre-2.28.1
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vinagre/2.28/}
@@ -19,13 +19,21 @@ USE_TOOLS+= gmake intltool pkg-config msgfmt
GCONF_SCHEMAS+= vinagre.schemas
+PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre
+PKG_SUPPORTED_OPTIONS= avahi
+.include "../../mk/bsd.options.mk"
+.if empty(PKG_OPTIONS:Mavahi)
+CONFIGURE_ARGS+= --disable-avahi
+.else
+.include "../../net/avahi/buildlink3.mk"
+.endif
+
.include "../../databases/shared-mime-info/mimedb.mk"
BUILDLINK_API_DEPENDS.GConf+= GConf>=2.16.0
.include "../../devel/GConf/schemas.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.17.0
.include "../../devel/glib2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
-.include "../../net/avahi/buildlink3.mk"
BUILDLINK_API_DEPENDS.gtk-vnc+= gtk-vnc>=0.3.8nb1
.include "../../net/gtk-vnc/buildlink3.mk"
.include "../../security/gnome-keyring/buildlink3.mk"