mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
- Fix build with GCC 4.2
Submitted by: SHIOZAKI Takehiko <st@be.to> (maintainer)
This commit is contained in:
parent
8a1af7f7ce
commit
c54599a442
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=195000
@ -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
|
||||
|
11
japanese/mutt/files/patch-keymap.h
Normal file
11
japanese/mutt/files/patch-keymap.h
Normal file
@ -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
|
||||
|
33
japanese/mutt/files/patch-m4-gssapi.m4
Normal file
33
japanese/mutt/files/patch-m4-gssapi.m4
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user