aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-11-06 02:38:02 +0800
committermiwi <miwi@FreeBSD.org>2006-11-06 02:38:02 +0800
commit47974f877ffe94afbd4483415a623411c92647b7 (patch)
treeebc2dac9a3f253264c84ba4c95cea549adb27130 /mail
parent49590f0649a167b35be4702b36127ac298122475 (diff)
downloadfreebsd-ports-gnome-47974f877ffe94afbd4483415a623411c92647b7.tar.gz
freebsd-ports-gnome-47974f877ffe94afbd4483415a623411c92647b7.tar.zst
freebsd-ports-gnome-47974f877ffe94afbd4483415a623411c92647b7.zip
- Fix GSSAPI for FreeBSD 4.x
PR: ports/105142 Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer) Sponsored by: FreeBSD Bug-a-thon #2
Diffstat (limited to 'mail')
-rw-r--r--mail/mutt-devel/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mutt-devel/Makefile b/mail/mutt-devel/Makefile
index b59d8f585517..b13862a41b03 100644
--- a/mail/mutt-devel/Makefile
+++ b/mail/mutt-devel/Makefile
@@ -377,8 +377,9 @@ CONFIGURE_ARGS+= --disable-gpgme
.if exists(${LOCALBASE}/bin/krb5-config)
LIB_DEPENDS+= gssapi_krb5:${PORTSDIR}/security/krb5
CONFIGURE_ARGS+= --with-gss=${LOCALBASE}
-.else
+.elif (defined(MAKE_KERBEROS5) && ${OSVERSION} > 500105) || exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+= --with-gss
+USE_KRB5_SYS=YES
.endif
.endif
@@ -449,7 +450,7 @@ post-patch::
pre-configure::
@(cd ${WRKSRC}; ${SETENV} ${AUTOMAKE_ENV} ${ACLOCAL} -I m4)
-.if !exists(${LOCALBASE}/bin/krb5-config)
+.if defined(USE_KRB5_SYS)
@${ECHO_CMD} "#define HAVE_HEIMDAL" >> ${WRKSRC}/config.h.in
@${REINPLACE_CMD} -e 's|<gssapi/gssapi\.h>|<gssapi.h>|' \
${WRKSRC}/imap/auth_gss.c