| @@ -1,20 +1,22 @@ | | | @@ -1,20 +1,22 @@ |
1 | # $NetBSD: options.mk,v 1.4 2008/08/09 22:03:52 tron Exp $ | | 1 | # $NetBSD: options.mk,v 1.5 2011/03/12 12:02:09 wiz Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.tnftp |
4 | PKG_SUPPORTED_OPTIONS= inet6 | | 4 | PKG_SUPPORTED_OPTIONS= inet6 |
5 | PKG_OPTIONS_OPTIONAL_GROUPS+= socks | | 5 | PKG_OPTIONS_OPTIONAL_GROUPS+= socks |
6 | PKG_OPTIONS_GROUP.socks= socks5 | | 6 | PKG_OPTIONS_GROUP.socks= socks5 |
7 | PKG_SUGGESTED_OPTIONS= inet6 | | 7 | PKG_SUGGESTED_OPTIONS= inet6 |
8 | | | 8 | |
9 | .include "../../mk/bsd.options.mk" | | 9 | .include "../../mk/bsd.options.mk" |
10 | | | 10 | |
11 | .if !empty(PKG_OPTIONS:Msocks5) | | 11 | .if !empty(PKG_OPTIONS:Msocks5) |
12 | CONFIGURE_ARGS+= --with-socks | | 12 | CONFIGURE_ARGS+= --with-socks |
13 | .include "../../net/socks5/buildlink3.mk" | | 13 | .include "../../net/socks5/buildlink3.mk" |
| | | 14 | .else |
| | | 15 | CONFIGURE_ARGS+= --without-socks |
14 | .endif | | 16 | .endif |
15 | | | 17 | |
16 | .if !empty(PKG_OPTIONS:Minet6) | | 18 | .if !empty(PKG_OPTIONS:Minet6) |
17 | CONFIGURE_ARGS+= --enable-ipv6 | | 19 | CONFIGURE_ARGS+= --enable-ipv6 |
18 | .else | | 20 | .else |
19 | CONFIGURE_ARGS+= --disable-ipv6 | | 21 | CONFIGURE_ARGS+= --disable-ipv6 |
20 | .endif | | 22 | .endif |