summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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