pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nginx Support ipv6.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e759db2fc39a
branches:  trunk
changeset: 570042:e759db2fc39a
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jan 23 23:24:39 2010 +0000

description:
Support ipv6.

diffstat:

 www/nginx/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 0d1148a420b4 -r e759db2fc39a www/nginx/options.mk
--- a/www/nginx/options.mk      Sat Jan 23 23:21:45 2010 +0000
+++ b/www/nginx/options.mk      Sat Jan 23 23:24:39 2010 +0000
@@ -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+=       --with-http_realip_module
 .endif
 
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --with-ipv6
+.else
+CONFIGURE_ARGS+=       --without-ipv6
+.endif



Home | Main Index | Thread Index | Old Index