summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-23 23:24:39 +0000
committerjoerg <joerg>2010-01-23 23:24:39 +0000
commitc05ea9ed224c0c9f3684f95a17c369e78cd8ef7c (patch)
treecce66d5a112d8cec3da990895046dc1303854861 /www
parent270d4a683fdb7b6b9e103c48e7bd255d14361503 (diff)
downloadpkgsrc-c05ea9ed224c0c9f3684f95a17c369e78cd8ef7c.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