Annotation of pkgsrc/mail/fetchmail/options.mk, Revision 1.10
1.10 ! frueauf 1: # $NetBSD: options.mk,v 1.9 2005/05/24 19:01:34 frueauf Exp $
1.1 jlam 2:
3: PKG_OPTIONS_VAR= PKG_OPTIONS.fetchmail
1.7 frueauf 4: PKG_SUPPORTED_OPTIONS= inet6 kerberos4 kerberos gssapi ssl
1.3 jlam 5:
1.9 frueauf 6: PKG_SUGGESTED_OPTIONS= ssl
1.3 jlam 7:
1.1 jlam 8: .include "../../mk/bsd.options.mk"
9:
10: ###
11: ### IPv6 support.
12: ###
13: .if !empty(PKG_OPTIONS:Minet6)
14: CONFIGURE_ARGS+= --enable-inet6
15: .endif
16:
17: ###
1.7 frueauf 18: ### Authentication via GSSAPI (currently only over Kerberos V) support.
19: ###
1.10 ! frueauf 20: .if !empty(PKG_OPTIONS:Mgssapi) && empty(PKG_OPTIONS:Mkerberos)
1.7 frueauf 21: PKG_OPTIONS+= kerberos
22: CONFIGURE_ARGS+= --with-gssapi=${KRB5BASE}
23: .else
24: CONFIGURE_ARGS+= --with-gssapi=no
25: .endif
26:
27: ###
28: ### KPOP (POP3 + Kerberos IV) support.
1.1 jlam 29: ###
30: .if !empty(PKG_OPTIONS:Mkerberos4)
1.7 frueauf 31: PKG_USE_KERBEROS= # defined
1.1 jlam 32: CONFIGURE_ARGS+= --with-kerberos=yes
33: . if empty(MACHINE_PLATFORM:MNetBSD-1.[0-4]*-i386)
34: REPLACE_KERBEROS_LIBS= yes
35: . endif
36: .else
37: CONFIGURE_ARGS+= --with-kerberos=no
38: .endif
39:
40: ###
1.7 frueauf 41: ### Kerberos V support.
1.6 frueauf 42: ###
1.7 frueauf 43: .if !empty(PKG_OPTIONS:Mkerberos)
44: . include "../../mk/krb5.buildlink3.mk"
45: PKG_USE_KERBEROS= # defined
46: CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE}
1.6 frueauf 47: .else
48: CONFIGURE_ARGS+= --with-kerberos5=no
49: .endif
50:
51: ###
1.1 jlam 52: ### Support POP3 and IMAP over SSL.
53: ###
54: .if !empty(PKG_OPTIONS:Mssl)
55: . include "../../security/openssl/buildlink3.mk"
56: CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
57: .else
58: CONFIGURE_ARGS+= --without-ssl
59: .endif
CVSweb <webmaster@jp.NetBSD.org>