aboutsummaryrefslogtreecommitdiff
path: root/mail/mutt14/files
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2006-10-19 20:42:00 +0000
committerErwin Lansing <erwin@FreeBSD.org>2006-10-19 20:42:00 +0000
commit7a05b0a7381a840ed122150be9df4d1a8dc55b91 (patch)
tree7721e0e05336b711c1d651c89cd46483f825d239 /mail/mutt14/files
parentae0f97db3f931982299aa20b6ddd2ca6bcdd305d (diff)
downloadports-7a05b0a7381a840ed122150be9df4d1a8dc55b91.tar.gz
ports-7a05b0a7381a840ed122150be9df4d1a8dc55b91.zip
Notes
Diffstat (limited to 'mail/mutt14/files')
-rw-r--r--mail/mutt14/files/patch-m4-gssapi.m433
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/mutt14/files/patch-m4-gssapi.m4 b/mail/mutt14/files/patch-m4-gssapi.m4
new file mode 100644
index 000000000000..2425cde4f2b8
--- /dev/null
+++ b/mail/mutt14/files/patch-m4-gssapi.m4
@@ -0,0 +1,33 @@
+--- m4/gssapi.m4.orig Wed Apr 17 19:05:04 2002
++++ m4/gssapi.m4 Mon Oct 16 10:59:34 2006
+@@ -6,10 +6,13 @@
+ dnl if it is set and not "yes".
+ dnl Defines GSSAPI_CFLAGS and GSSAPI_LIBS if found.
+ dnl Defines GSSAPI_IMPL to "Heimdal", "MIT", or "OldMIT", or "none" if not found
+-AC_DEFUN(MUTT_AM_PATH_GSSAPI,
++AC_DEFUN([MUTT_AM_PATH_GSSAPI],
+ [
+ GSSAPI_PREFIX=[$]$1
+ GSSAPI_IMPL="none"
++ saved_CPPFLAGS="$CPPFLAGS"
++ saved_LDFLAGS="$LDFLAGS"
++ saved_LIBS="$LIBS"
+ dnl First try krb5-config
+ if test "$GSSAPI_PREFIX" != "yes"
+ then
+@@ -24,14 +27,11 @@
+ GSSAPI_LIBS="$MUTTLIBS `$KRB5CFGPATH --libs gssapi`"
+ case "`$KRB5CFGPATH --version`" in
+ "Kerberos 5 "*) GSSAPI_IMPL="MIT";;
+- [hH]eimdal*) GSSAPI_IMPL="Heimdal";;
++ ?eimdal*) GSSAPI_IMPL="Heimdal";;
+ *) GSSAPI_IMPL="Unknown";;
+ esac
+ else
+ dnl No krb5-config, run the old code
+- saved_CPPFLAGS="$CPPFLAGS"
+- saved_LDFLAGS="$LDFLAGS"
+- saved_LIBS="$LIBS"
+ if test "$GSSAPI_PREFIX" != "yes"
+ then
+ GSSAPI_CFLAGS="-I$GSSAPI_PREFIX/include"