Sat Jan 23 23:24:40 2010 UTC ()
Support ipv6.


(joerg)
diff -r1.2 -r1.3 pkgsrc/www/nginx/options.mk

cvs diff -r1.2 -r1.3 pkgsrc/www/nginx/options.mk (expand / switch to unified diff)

--- pkgsrc/www/nginx/options.mk 2010/01/23 16:32:11 1.2
+++ pkgsrc/www/nginx/options.mk 2010/01/23 23:24:39 1.3
@@ -1,17 +1,18 @@ @@ -1,17 +1,18 @@
1# $NetBSD: options.mk,v 1.2 2010/01/23 16:32:11 joerg Exp $ 1# $NetBSD: options.mk,v 1.3 2010/01/23 23:24:39 joerg Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.nginx 3PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
4PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache realip 4PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \
 5 realip inet6
5PKG_SUGGESTED_OPTIONS= ssl pcre 6PKG_SUGGESTED_OPTIONS= ssl pcre
6 7
7.include "../../mk/bsd.options.mk" 8.include "../../mk/bsd.options.mk"
8 9
9.if !empty(PKG_OPTIONS:Mssl) 10.if !empty(PKG_OPTIONS:Mssl)
10.include "../../security/openssl/buildlink3.mk" 11.include "../../security/openssl/buildlink3.mk"
11CONFIGURE_ARGS+= --with-mail_ssl_module 12CONFIGURE_ARGS+= --with-mail_ssl_module
12CONFIGURE_ARGS+= --with-http_ssl_module 13CONFIGURE_ARGS+= --with-http_ssl_module
13.endif 14.endif
14 15
15.if !empty(PKG_OPTIONS:Mpcre) 16.if !empty(PKG_OPTIONS:Mpcre)
16.include "../../devel/pcre/buildlink3.mk" 17.include "../../devel/pcre/buildlink3.mk"
17.else 18.else
@@ -37,13 +38,18 @@ CONFIGURE_ARGS+= --with-google_perftools @@ -37,13 +38,18 @@ CONFIGURE_ARGS+= --with-google_perftools
37 38
38.if !empty(PKG_OPTIONS:Mmail-proxy) 39.if !empty(PKG_OPTIONS:Mmail-proxy)
39CONFIGURE_ARGS+= --with-mail 40CONFIGURE_ARGS+= --with-mail
40.endif 41.endif
41 42
42.if empty(PKG_OPTIONS:Mmemcache) 43.if empty(PKG_OPTIONS:Mmemcache)
43CONFIGURE_ARGS+= --without-http_memcached_module 44CONFIGURE_ARGS+= --without-http_memcached_module
44.endif 45.endif
45 46
46.if !empty(PKG_OPTIONS:Mrealip) 47.if !empty(PKG_OPTIONS:Mrealip)
47CONFIGURE_ARGS+= --with-http_realip_module 48CONFIGURE_ARGS+= --with-http_realip_module
48.endif 49.endif
49 50
 51.if !empty(PKG_OPTIONS:Minet6)
 52CONFIGURE_ARGS+= --with-ipv6
 53.else
 54CONFIGURE_ARGS+= --without-ipv6
 55.endif