summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-11-19 09:01:51 +0000
committerwiz <wiz@pkgsrc.org>2014-11-19 09:01:51 +0000
commit522bd6418e3f9954d26eb49e32a3c1a251aa2620 (patch)
tree6146ec53bb74901a441186c3047c88f0b4a3b8cd /net/mtr
parent224de82d868818248f0a712c1491164b54464e1f (diff)
downloadpkgsrc-522bd6418e3f9954d26eb49e32a3c1a251aa2620.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/mtr')
-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