summaryrefslogtreecommitdiff
path: root/japanese/mutt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-05 10:47:11 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-05 10:47:11 +0000
commitc54599a442292b7d595c59894057dcc6e8996011 (patch)
treea0e5e594e9a50e627c8e1a99debba2f15d102ca3 /japanese/mutt
parent- Update to 4010 (diff)
- Fix build with GCC 4.2
Submitted by: SHIOZAKI Takehiko <st@be.to> (maintainer)
Notes
Notes: svn path=/head/; revision=195000
Diffstat (limited to 'japanese/mutt')
-rw-r--r--japanese/mutt/Makefile6
-rw-r--r--japanese/mutt/files/patch-keymap.h11
-rw-r--r--japanese/mutt/files/patch-m4-gssapi.m433
3 files changed, 47 insertions, 3 deletions
diff --git a/japanese/mutt/Makefile b/japanese/mutt/Makefile
index a8664cbae305..784d7d7bb0ea 100644
--- a/japanese/mutt/Makefile
+++ b/japanese/mutt/Makefile
@@ -6,12 +6,12 @@
PORTNAME= mutt
PORTVERSION= ${VERSION}.j${JP_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= japanese mail
MASTER_SITES= http://www.emaillab.org/mutt/1.4/ \
http://my.reset.jp/~iwashita/mutt/distfiles/ \
http://ha4.seikyou.ne.jp/home/Kohtaro.Hitomi/mutt/ \
- ftp://ftp.mutt.org/pub/mutt/devel/
+ ftp://ftp.mutt.org/pub/mutt/
DISTNAME= ${PORTNAME}-${VERSION}i
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME}-ja.${JP_VERSION}${EXTRACT_SUFX} \
@@ -34,7 +34,7 @@ FETCH_BEFORE_ARGS= -A # ha4.seikyou.ne.jp is running broken httpd
USE_GMAKE= yes
USE_ICONV= yes
-USE_AUTOTOOLS= automake:14 autoconf:253
+USE_AUTOTOOLS= automake:19 autoconf:259
USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${VERSION}
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/japanese/mutt/files/patch-keymap.h b/japanese/mutt/files/patch-keymap.h
new file mode 100644
index 000000000000..3e359d94f357
--- /dev/null
+++ b/japanese/mutt/files/patch-keymap.h
@@ -0,0 +1,11 @@
+--- keymap.h.orig Tue Sep 11 20:20:34 2001
++++ keymap.h Wed Jul 4 18:17:25 2007
+@@ -19,6 +19,8 @@
+ #ifndef KEYMAP_H
+ #define KEYMAP_H
+
++#include "mapping.h"
++
+ /* maximal length of a key binding sequence used for buffer in km_bindkey */
+ #define MAX_SEQ 8
+
diff --git a/japanese/mutt/files/patch-m4-gssapi.m4 b/japanese/mutt/files/patch-m4-gssapi.m4
new file mode 100644
index 000000000000..2425cde4f2b8
--- /dev/null
+++ b/japanese/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"