diff options
author | joerg <joerg@pkgsrc.org> | 2010-01-23 23:24:39 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-01-23 23:24:39 +0000 |
commit | 690ccc94729b47851e1ab44f06bafc05a94cb6ac (patch) | |
tree | cce66d5a112d8cec3da990895046dc1303854861 /www/nginx/options.mk | |
parent | f91408862cc4f8861e3c937d08aef68951663e56 (diff) | |
download | pkgsrc-690ccc94729b47851e1ab44f06bafc05a94cb6ac.tar.gz |
Support ipv6.
Diffstat (limited to 'www/nginx/options.mk')
-rw-r--r-- | www/nginx/options.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/www/nginx/options.mk b/www/nginx/options.mk index 4cb892a4cb5..f19c8cd97da 100644 --- a/www/nginx/options.mk +++ b/www/nginx/options.mk @@ -1,7 +1,8 @@ -# $NetBSD: options.mk,v 1.2 2010/01/23 16:32:11 joerg Exp $ +# $NetBSD: options.mk,v 1.3 2010/01/23 23:24:39 joerg Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.nginx -PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache realip +PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \ + realip inet6 PKG_SUGGESTED_OPTIONS= ssl pcre .include "../../mk/bsd.options.mk" @@ -47,3 +48,8 @@ CONFIGURE_ARGS+= --without-http_memcached_module CONFIGURE_ARGS+= --with-http_realip_module .endif +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --with-ipv6 +.else +CONFIGURE_ARGS+= --without-ipv6 +.endif |