| @@ -1,34 +1,21 @@ | | | @@ -1,34 +1,21 @@ |
1 | # $NetBSD: options.mk,v 1.8 2018/02/16 22:06:58 jdolecek Exp $ | | 1 | # $NetBSD: options.mk,v 1.9 2018/09/02 00:52:50 maya Exp $ |
2 | | | 2 | |
3 | .include "../../mk/bsd.prefs.mk" | | 3 | .include "../../mk/bsd.prefs.mk" |
4 | | | 4 | |
5 | PKG_OPTIONS_VAR= PKG_OPTIONS.imap-uw | | 5 | PKG_OPTIONS_VAR= PKG_OPTIONS.imap-uw |
6 | PKG_SUPPORTED_OPTIONS+= imapuw-cleartextpwd imapuw-whoson inet6 ssl | | 6 | PKG_SUPPORTED_OPTIONS+= imapuw-cleartextpwd imapuw-whoson inet6 ssl |
7 | PKG_SUGGESTED_OPTIONS+= imapuw-cleartextpwd inet6 ssl | | 7 | PKG_SUGGESTED_OPTIONS+= imapuw-cleartextpwd inet6 ssl |
8 | | | | |
9 | # On NetBSD 1.x, using the native Kerberos 5 implementation causes | | | |
10 | # interoperability problems with OpenSSL 0.9.7 and above. | | | |
11 | # | | | |
12 | .if !empty(MACHINE_PLATFORM:MNetBSD-1.*) | | | |
13 | CHECK_BUILTIN.heimdal:= yes | | | |
14 | . include "../../security/heimdal/builtin.mk" | | | |
15 | CHECK_BUILTIN.heimdal:= no | | | |
16 | . if !empty(USE_BUILTIN.heimdal:M[nN][oO]) | | | |
17 | PKG_SUPPORTED_OPTIONS+= kerberos | | 8 | PKG_SUPPORTED_OPTIONS+= kerberos |
18 | . endif | | | |
19 | .else | | | |
20 | PKG_SUPPORTED_OPTIONS+= kerberos | | | |
21 | .endif | | | |
22 | | | 9 | |
23 | .include "../../mk/bsd.options.mk" | | 10 | .include "../../mk/bsd.options.mk" |
24 | | | 11 | |
25 | ### | | 12 | ### |
26 | ### Support both IPv6 and IPv4 connections. | | 13 | ### Support both IPv6 and IPv4 connections. |
27 | ### | | 14 | ### |
28 | .if !empty(PKG_OPTIONS:Minet6) | | 15 | .if !empty(PKG_OPTIONS:Minet6) |
29 | MAKE_FLAGS+= IP=6 | | 16 | MAKE_FLAGS+= IP=6 |
30 | .else | | 17 | .else |
31 | MAKE_FLAGS+= IP=4 | | 18 | MAKE_FLAGS+= IP=4 |
32 | .endif | | 19 | .endif |
33 | | | 20 | |
34 | ### | | 21 | ### |