From bd10f68de7ff21e17de4745b3054176c705f57f8 Mon Sep 17 00:00:00 2001 From: shaun Date: Tue, 3 Oct 2006 14:11:30 +0000 Subject: - Add Kerberos (GSSAPI) support to mutt and mutt-devel. PR: ports/103924 Submitted by: shaun (me) Approved by: Udo Schweigert (maintainer) --- mail/mutt14/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'mail/mutt14') diff --git a/mail/mutt14/Makefile b/mail/mutt14/Makefile index b937bd2563c7..b1a8eed76a34 100644 --- a/mail/mutt14/Makefile +++ b/mail/mutt14/Makefile @@ -118,6 +118,14 @@ CFLAGS+= -I${PREFIX}/include/ncurses -I${PREFIX}/include .if defined(WITH_MUTT_CYRUS_SASL) CONFIGURE_ARGS+= --with-sasl=${LOCALBASE} .endif +.if !defined(WITHOUT_GSSAPI) +.if exists(${LOCALBASE}/bin/krb5-config) +LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5 +CONFIGURE_ARGS+= --with-gss=${LOCALBASE} +.else +CONFIGURE_ARGS+= --with-gss +.endif +.endif MAN1= mutt.1 mutt_dotlock.1 MAN5= mbox.5 muttrc.5 @@ -139,6 +147,11 @@ post-patch:: pre-configure:: @(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4) +.if !exists(${LOCALBASE}/bin/krb5-config) + @${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in + @${REINPLACE_CMD} -e 's|||' \ + ${WRKSRC}/imap/auth_gss.c +.endif # XXX # this should be done automagically by aclocal but .... -- cgit