summaryrefslogtreecommitdiff
path: root/net/nmap/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/nmap/options.mk')
-rw-r--r--net/nmap/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/net/nmap/options.mk b/net/nmap/options.mk
index daded9cb23d..102a397eac0 100644
--- a/net/nmap/options.mk
+++ b/net/nmap/options.mk
@@ -1,11 +1,17 @@
-# $NetBSD: options.mk,v 1.1 2008/06/09 19:35:31 adrianp Exp $
+# $NetBSD: options.mk,v 1.2 2009/01/15 20:28:31 shattered Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nmap
-PKG_SUPPORTED_OPTIONS= zenmap
+PKG_SUPPORTED_OPTIONS= zenmap inet6
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
###
### Enable dynamically loadable preprocessors, detection engine
### and rules libraries.