summaryrefslogtreecommitdiff
path: root/mail/fetchmail/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mail/fetchmail/options.mk')
-rw-r--r--mail/fetchmail/options.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/fetchmail/options.mk b/mail/fetchmail/options.mk
index 334ee57d5d0..66ff6085de1 100644
--- a/mail/fetchmail/options.mk
+++ b/mail/fetchmail/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2005/05/30 14:02:17 frueauf Exp $
+# $NetBSD: options.mk,v 1.11 2005/05/30 18:06:37 frueauf Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.fetchmail
PKG_SUPPORTED_OPTIONS= inet6 kerberos4 kerberos gssapi ssl
@@ -17,8 +17,7 @@ CONFIGURE_ARGS+= --enable-inet6
###
### Authentication via GSSAPI (currently only over Kerberos V) support.
###
-.if !empty(PKG_OPTIONS:Mgssapi) && empty(PKG_OPTIONS:Mkerberos)
-PKG_OPTIONS+= kerberos
+.if !empty(PKG_OPTIONS:Mgssapi)
CONFIGURE_ARGS+= --with-gssapi=${KRB5BASE}
.else
CONFIGURE_ARGS+= --with-gssapi=no
@@ -40,7 +39,7 @@ CONFIGURE_ARGS+= --with-kerberos=no
###
### Kerberos V support.
###
-.if !empty(PKG_OPTIONS:Mkerberos)
+.if !empty(PKG_OPTIONS:Mkerberos) || !empty(PKG_OPTIONS:Mgssapi)
. include "../../mk/krb5.buildlink3.mk"
PKG_USE_KERBEROS= # defined
CONFIGURE_ARGS+= --with-kerberos5=${KRB5BASE}