diff options
author | shattered <shattered> | 2009-01-15 20:28:31 +0000 |
---|---|---|
committer | shattered <shattered> | 2009-01-15 20:28:31 +0000 |
commit | 4b045d10440a11cd760c38f8babd53b0297cab44 (patch) | |
tree | 96840c3ea92e805c13ea26dc91af35313fdcd2a1 /net | |
parent | 83196e65b0b77e36fa4b9fbbbba062dab2f9270d (diff) | |
download | pkgsrc-4b045d10440a11cd760c38f8babd53b0297cab44.tar.gz |
Support inet6 option. From PR 37152.
OK by salo@.
Diffstat (limited to 'net')
-rw-r--r-- | net/nmap/Makefile | 4 | ||||
-rw-r--r-- | net/nmap/options.mk | 10 |
2 files changed, 10 insertions, 4 deletions
diff --git a/net/nmap/Makefile b/net/nmap/Makefile index 018b36a7ec0..b494ccd8776 100644 --- a/net/nmap/Makefile +++ b/net/nmap/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.63 2009/01/10 20:22:15 adrianp Exp $ +# $NetBSD: Makefile,v 1.64 2009/01/15 20:28:31 shattered Exp $ # DISTNAME= nmap-4.76 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net security MASTER_SITES= http://download.insecure.org/nmap/dist/ EXTRACT_SUFX= .tar.bz2 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. |