From a0ae6e2cf8d05b1320770bdffa077f517271d9d1 Mon Sep 17 00:00:00 2001 From: frueauf Date: Mon, 30 May 2005 18:06:37 +0000 Subject: Correct handling if gssapi and kerberos is defined. Proposal by Dieter Baron, tested by Jukka Salmi. --- mail/fetchmail/options.mk | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'mail/fetchmail') 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} -- cgit v1.2.3