summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-23 23:24:39 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-23 23:24:39 +0000
commit3899236a5bec7f42bf781cf628ead7025a22b5dd (patch)
treecce66d5a112d8cec3da990895046dc1303854861 /www
parent5c9f2374bc24e958e7833d457e46754ba8542473 (diff)
downloadpkgsrc-3899236a5bec7f42bf781cf628ead7025a22b5dd.tar.gz
Support ipv6.
Diffstat (limited to 'www')
-rw-r--r--www/nginx/options.mk10
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