summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorwiz <wiz>2014-11-19 09:01:51 +0000
committerwiz <wiz>2014-11-19 09:01:51 +0000
commit58caf5da644dfe3bdd123c3699233e19161f285d (patch)
tree6146ec53bb74901a441186c3047c88f0b4a3b8cd /net
parentf5d413c6fa49aea10e64c10ddf51633549b91f30 (diff)
downloadpkgsrc-58caf5da644dfe3bdd123c3699233e19161f285d.tar.gz
Add default-on inet6 option. No change to before, just allows turning off
inet6. From Matthias Ferdinand on pkgsrc-users.
Diffstat (limited to 'net')
-rw-r--r--net/mtr/options.mk12
1 files changed, 9 insertions, 3 deletions
diff --git a/net/mtr/options.mk b/net/mtr/options.mk
index df34067f03a..f33723d8baf 100644
--- a/net/mtr/options.mk
+++ b/net/mtr/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.4 2013/10/31 00:38:20 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2014/11/19 09:01:51 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mtr
-PKG_SUPPORTED_OPTIONS= gtk glib
-PKG_SUGGESTED_OPTIONS= glib
+PKG_SUPPORTED_OPTIONS= gtk glib inet6
+PKG_SUGGESTED_OPTIONS= glib inet6
.include "../../mk/bsd.options.mk"
@@ -17,3 +17,9 @@ CONFIGURE_ARGS+= --without-gtk
.else
CONFIGURE_ARGS+= --without-glib
.endif
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif