diff options
author | Shaun Amott <shaun@FreeBSD.org> | 2006-10-03 14:11:30 +0000 |
---|---|---|
committer | Shaun Amott <shaun@FreeBSD.org> | 2006-10-03 14:11:30 +0000 |
commit | 5353b242f89a6a59bfcac21424a8682d77654b5d (patch) | |
tree | 9f5787b42e4f30ad0a5fca81690670517c0c58af /mail/mutt/Makefile | |
parent | Add p5-Archive-Any 0.09.3, single interface to deal with file archives. (diff) |
- Add Kerberos (GSSAPI) support to mutt and mutt-devel.
PR: ports/103924
Submitted by: shaun (me)
Approved by: Udo Schweigert <Udo.Schweigert@siemens.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=174375
Diffstat (limited to 'mail/mutt/Makefile')
-rw-r--r-- | mail/mutt/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/mutt/Makefile b/mail/mutt/Makefile index b937bd2563c7..b1a8eed76a34 100644 --- a/mail/mutt/Makefile +++ b/mail/mutt/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|<gssapi/gssapi\.h>|<gssapi.h>|' \ + ${WRKSRC}/imap/auth_gss.c +.endif # XXX # this should be done automagically by aclocal but .... |