summaryrefslogtreecommitdiff
path: root/net/vino
diff options
context:
space:
mode:
authorwiz <wiz>2008-12-21 11:00:37 +0000
committerwiz <wiz>2008-12-21 11:00:37 +0000
commit9753ad719299891148f6edadb31184f2ba764e00 (patch)
treee3a8fda25c19ce86f434718451d8e250b1e56fb5 /net/vino
parent7498d9d70d6ac38f1ec8468e3185f7ce0d763aee (diff)
downloadpkgsrc-9753ad719299891148f6edadb31184f2ba764e00.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