| @@ -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 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.nginx |
4 | PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache realip | | 4 | PKG_SUPPORTED_OPTIONS= ssl pcre dav flv sub gtools mail-proxy memcache \ |
| | | 5 | realip inet6 |
5 | PKG_SUGGESTED_OPTIONS= ssl pcre | | 6 | PKG_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" |
11 | CONFIGURE_ARGS+= --with-mail_ssl_module | | 12 | CONFIGURE_ARGS+= --with-mail_ssl_module |
12 | CONFIGURE_ARGS+= --with-http_ssl_module | | 13 | CONFIGURE_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) |
39 | CONFIGURE_ARGS+= --with-mail | | 40 | CONFIGURE_ARGS+= --with-mail |
40 | .endif | | 41 | .endif |
41 | | | 42 | |
42 | .if empty(PKG_OPTIONS:Mmemcache) | | 43 | .if empty(PKG_OPTIONS:Mmemcache) |
43 | CONFIGURE_ARGS+= --without-http_memcached_module | | 44 | CONFIGURE_ARGS+= --without-http_memcached_module |
44 | .endif | | 45 | .endif |
45 | | | 46 | |
46 | .if !empty(PKG_OPTIONS:Mrealip) | | 47 | .if !empty(PKG_OPTIONS:Mrealip) |
47 | CONFIGURE_ARGS+= --with-http_realip_module | | 48 | CONFIGURE_ARGS+= --with-http_realip_module |
48 | .endif | | 49 | .endif |
49 | | | 50 | |
| | | 51 | .if !empty(PKG_OPTIONS:Minet6) |
| | | 52 | CONFIGURE_ARGS+= --with-ipv6 |
| | | 53 | .else |
| | | 54 | CONFIGURE_ARGS+= --without-ipv6 |
| | | 55 | .endif |