pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mtr Add default-on inet6 option. No change to befo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/a7ca4380db5b
branches: trunk
changeset: 641821:a7ca4380db5b
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Nov 19 09:01:51 2014 +0000
description:
Add default-on inet6 option. No change to before, just allows turning off
inet6.
>From Matthias Ferdinand on pkgsrc-users.
diffstat:
net/mtr/options.mk | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 1654af862d2a -r a7ca4380db5b net/mtr/options.mk
--- a/net/mtr/options.mk Wed Nov 19 08:33:03 2014 +0000
+++ b/net/mtr/options.mk Wed Nov 19 09:01:51 2014 +0000
@@ -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 @@
.else
CONFIGURE_ARGS+= --without-glib
.endif
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
Home |
Main Index |
Thread Index |
Old Index