summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2012-11-08 10:43:50 +0000
committersborrill <sborrill@pkgsrc.org>2012-11-08 10:43:50 +0000
commitf99dbd5eb5b7e5fc8896e2f83d15c4bd81c89764 (patch)
tree9d368d0df2ad2cd542f9681eb1b7e8e91249f968 /x11
parent8d1e3973eae748c4834c5d093163393207b38b1a (diff)
downloadpkgsrc-f99dbd5eb5b7e5fc8896e2f83d15c4bd81c89764.tar.gz
Support inet6 option (on by default)
Diffstat (limited to 'x11')
-rw-r--r--x11/x11vnc/options.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/x11/x11vnc/options.mk b/x11/x11vnc/options.mk
index 5294ae24c51..a4070cc9102 100644
--- a/x11/x11vnc/options.mk
+++ b/x11/x11vnc/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.3 2012/10/23 10:24:21 wiz Exp $
+# $NetBSD: options.mk,v 1.4 2012/11/08 10:43:50 sborrill Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.x11vnc
-PKG_SUPPORTED_OPTIONS= avahi x11
-PKG_SUGGESTED_OPTIONS= x11
+PKG_SUPPORTED_OPTIONS= avahi inet6 x11
+PKG_SUGGESTED_OPTIONS= inet6 x11
.include "../../mk/bsd.options.mk"
@@ -14,6 +14,10 @@ CONFIGURE_ARGS+= --with-avahi=${BUILDLINK_PREFIX.avahi}
CONFIGURE_ARGS+= --without-avahi
.endif
+.if empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --without-ipv6
+.endif
+
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --with-x
BUILDLINK_DEPMETHOD.libXt?= build