diff options
author | erwin <erwin@FreeBSD.org> | 2006-10-20 04:42:00 +0800 |
---|---|---|
committer | erwin <erwin@FreeBSD.org> | 2006-10-20 04:42:00 +0800 |
commit | 256b3a9cb062f8cdc3ac94c159e2892a33104e9e (patch) | |
tree | 80c59b124c7489ddcd201c020626579a43c5955d /mail/mutt | |
parent | 73dcdd00106f75816e47606506807b212db10ad8 (diff) | |
download | freebsd-ports-gnome-256b3a9cb062f8cdc3ac94c159e2892a33104e9e.tar.gz freebsd-ports-gnome-256b3a9cb062f8cdc3ac94c159e2892a33104e9e.tar.zst freebsd-ports-gnome-256b3a9cb062f8cdc3ac94c159e2892a33104e9e.zip |
Fix the build.
PR: 104455
Submitted by: Udo Schweigert <udo.schweigert@siemens.com> (maintainer)
Noticed by: pointyhat via kris
Approved by: portmgr (self)
Diffstat (limited to 'mail/mutt')
-rw-r--r-- | mail/mutt/files/patch-m4-gssapi.m4 | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mail/mutt/files/patch-m4-gssapi.m4 b/mail/mutt/files/patch-m4-gssapi.m4 new file mode 100644 index 000000000000..2425cde4f2b8 --- /dev/null +++ b/mail/mutt/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" |