summaryrefslogtreecommitdiff
path: root/net/vino
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2008-12-21 11:00:37 +0000
committerwiz <wiz@pkgsrc.org>2008-12-21 11:00:37 +0000
commit2f7f51f185071dc13c4b9d2cf610c501f841bf70 (patch)
treee3a8fda25c19ce86f434718451d8e250b1e56fb5 /net/vino
parente0d1e94a88f19f6b6754780f4f483f821873e800 (diff)
downloadpkgsrc-2f7f51f185071dc13c4b9d2cf610c501f841bf70.tar.gz
Add avahi option, and enable it by default.
Bump PKGREVISION.
Diffstat (limited to 'net/vino')
-rw-r--r--net/vino/Makefile3
-rw-r--r--net/vino/options.mk12
2 files changed, 12 insertions, 3 deletions
diff --git a/net/vino/Makefile b/net/vino/Makefile
index 12893f3d6e7..3983d6ff070 100644
--- a/net/vino/Makefile
+++ b/net/vino/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.31 2008/10/29 14:42:29 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2008/12/21 11:00:37 wiz Exp $
DISTNAME= vino-2.24.1
+PKGREVISION= 1
CATEGORIES= net gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vino/2.24/}
EXTRACT_SUFX= .tar.bz2
diff --git a/net/vino/options.mk b/net/vino/options.mk
index a1d0a71562e..375db17cd1c 100644
--- a/net/vino/options.mk
+++ b/net/vino/options.mk
@@ -1,10 +1,18 @@
-# $NetBSD: options.mk,v 1.1 2007/08/14 09:30:56 obache Exp $
+# $NetBSD: options.mk,v 1.2 2008/12/21 11:00:37 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.vino
-PKG_SUPPORTED_OPTIONS+= inet6
+PKG_SUPPORTED_OPTIONS+= avahi inet6
+PKG_SUGGESTED_OPTIONS+= avahi
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mavahi)
+CONFIGURE_ARGS+= --enable-avahi
+.include "../../net/avahi/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-avahi
+.endif
+
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else