diff options
author | wiz <wiz@pkgsrc.org> | 2014-11-19 09:01:51 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2014-11-19 09:01:51 +0000 |
commit | b39d81cefac718f0e88387ed1b8b10c7fe35874b (patch) | |
tree | 6146ec53bb74901a441186c3047c88f0b4a3b8cd /net/mtr | |
parent | a8e60af43ad0a94e3f8aad55288bfcf12f0b1eb6 (diff) | |
download | pkgsrc-b39d81cefac718f0e88387ed1b8b10c7fe35874b.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.mk | 12 |
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 |