ports/71329: japanese/mutt-devel compile error with ctype inline

SHIOZAKI Takehiko st at be.to
Fri Sep 3 08:00:51 UTC 2004


>Number:         71329
>Category:       ports
>Synopsis:       japanese/mutt-devel compile error with ctype inline
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 03 08:00:51 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     SHIOZAKI Takehiko
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD localhost.my.domain 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004     root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC  i386


	
>Description:

	Added -D_DONT_USE_CTYPE_INLINE_ to CFLAGS not to use inlined wcwidth().
	Cleaned up pkg-plist for NOPORTDOCS.
	Added the latest Japanese documents.
	Also added the following knobs.
		WITH_MUTT_HEADER_CACHE
		WITH_MUTT_IDN
		MUTT_CONFIGURE_ARGS
>How-To-Repeat:

	Just make the port.
	
>Fix:

diff -urN mutt-devel/Makefile mutt-devel-hcache/Makefile
--- mutt-devel/Makefile	Sat Jun  5 02:29:22 2004
+++ mutt-devel-hcache/Makefile	Wed Sep  1 15:43:11 2004
@@ -9,16 +9,18 @@
 
 PORTNAME=	mutt-devel
 PORTVERSION=	${VERSION}.j${JP_VERSION}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	japanese mail
 MASTER_SITES=	http://www.emaillab.org/mutt/1.5/ \
 		http://my.reset.jp/~iwashita/mutt/distfiles/ \
 		http://ha4.seikyou.ne.jp/home/Kohtaro.Hitomi/mutt/ \
+		http://mutt-j.sourceforge.jp/ \
 		ftp://ftp.mutt.org/mutt/devel/
 DISTNAME=	mutt-${VERSION}i
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 		${DISTNAME}-ja.${JP_VERSION}${EXTRACT_SUFX} \
-		manual_ja-${MANUALVERSION}i-1${EXTRACT_SUFX}
+		manual_ja-${MANUALVERSION}i-1${EXTRACT_SUFX} \
+		manual.ja-${MANJADATE}${EXTRACT_SUFX}
 DIST_SUBDIR=	mutt
 
 MAINTAINER=	st at be.to
@@ -33,12 +35,24 @@
 .if defined(WITH_MUTT_CYRUS_SASL)
 LIB_DEPENDS+=	sasl.8:${PORTSDIR}/security/cyrus-sasl
 .endif
+.if defined(WITH_MUTT_IDN)
+LIB_DEPENDS+=	idn.15:${PORTSDIR}/devel/libidn
+.endif
+
+.if defined(WITH_MUTT_HEADER_CACHE)
+PATCH_SITES+=	http://wwwcip.informatik.uni-erlangen.de/~sithglan/mutt/:hcache
+PATCHFILES+=	patch-${VERSION}.tg.hcache.3:hcache
+PATCH_DIST_STRIP+=	-p1
+
+LIB_DEPENDS+=	gdbm.3:${PORTSDIR}/databases/gdbm
+.endif
 
 CONFLICTS=	mutt-* ja-mutt-1.[024]*
 
 VERSION=	1.5.6
 JP_VERSION=	1
 MANUALVERSION=	1.4
+MANJADATE=	20040808
 
 FETCH_BEFORE_ARGS=	-A	# ha4.seikyou.ne.jp is running broken httpd
 
@@ -51,7 +65,7 @@
 USE_OPENSSL=	yes
 WRKSRC=		${WRKDIR}/mutt-${VERSION}
 LDFLAGS+=	-L${LOCALBASE}/lib
-CONFIGURE_ENV=	CC="${CC} -I${LOCALBASE}/include -I${LOCALBASE}/include/slang" \
+CONFIGURE_ENV=	CC="${CC} -D_DONT_USE_CTYPE_INLINE_ ${DB_CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/slang" \
 		LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--with-slang --enable-locales-fix \
 		--with-libiconv-prefix=${LOCALBASE} \
@@ -62,6 +76,9 @@
 		--with-docdir=${DOCSDIR} \
 		--enable-pop --enable-imap \
 		--enable-default-japanese
+.if defined(MUTT_CONFIGURE_ARGS)
+CONFIGURE_ARGS+=	${MUTT_CONFIGURE_ARGS}
+.endif
 .if defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=	--disable-nls
 PLIST_SUB=	NLS="@comment "
@@ -71,6 +88,12 @@
 .if defined(WITH_MUTT_CYRUS_SASL)
 CONFIGURE_ARGS+=	--with-sasl=${LOCALBASE}
 .endif
+.if defined(WITH_MUTT_HEADER_CACHE)
+CONFIGURE_ARGS+=	--enable-hcache
+.endif
+.if defined(WITH_MUTT_IDN)
+CONFIGURE_ARGS+=	--with-idn=${LOCALBASE}
+.endif
 
 NOMANCOMPRESS=	yes
 MAN1=		flea.1 mutt.1 muttbug.1 mutt_dotlock.1
@@ -87,7 +110,7 @@
 	${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extrapatch-nodoc-aa
 	${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extrapatch-nodoc-ab
 .endif
-	(cd ${WRKSRC}; ${ACLOCAL} -I m4)
+	(cd ${WRKSRC}; ${ACLOCAL} -I m4; ${AUTOHEADER})
 
 post-configure:
 	@${REINPLACE_CMD} -E "\
@@ -121,6 +144,9 @@
 	${INSTALL_DATA} ${WRKDIR}/manual_ja.tex ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/manual_ja.html ${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/manual_ja.sgml ${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/manual.ja.txt ${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/manual.ja.html ${DOCSDIR}
+	${INSTALL_DATA} ${WRKDIR}/manual.ja.sgml ${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>
diff -urN mutt-devel/distinfo mutt-devel-hcache/distinfo
--- mutt-devel/distinfo	Wed Mar  3 01:16:59 2004
+++ mutt-devel-hcache/distinfo	Mon Aug 30 12:17:13 2004
@@ -4,3 +4,7 @@
 SIZE (mutt/mutt-1.5.6i-ja.1.tar.gz) = 78594
 MD5 (mutt/manual_ja-1.4i-1.tar.gz) = 07623b9b958f89070f8dd1f227f71605
 SIZE (mutt/manual_ja-1.4i-1.tar.gz) = 300461
+MD5 (mutt/manual.ja-20040808.tar.gz) = 393e8d39025278f263018f6d314049f8
+SIZE (mutt/manual.ja-20040808.tar.gz) = 272680
+MD5 (mutt/patch-1.5.6.tg.hcache.3) = d7a6eea28e0b3cfbe72623916eba6cb7
+SIZE (mutt/patch-1.5.6.tg.hcache.3) = 35166
diff -urN mutt-devel/pkg-plist mutt-devel-hcache/pkg-plist
--- mutt-devel/pkg-plist	Mon May 17 11:35:24 2004
+++ mutt-devel-hcache/pkg-plist	Wed Sep  1 15:39:22 2004
@@ -7,85 +7,88 @@
 bin/smime_keys
 etc/Muttrc
 etc/mime.types
-%%DOCSDIR%%/COPYRIGHT
-%%DOCSDIR%%/ChangeLog
-%%DOCSDIR%%/ChangeLog.old
-%%DOCSDIR%%/GPL
-%%DOCSDIR%%/INSTALL
-%%DOCSDIR%%/INSTALL.ja
-%%DOCSDIR%%/INSTALL.JA-PATCH.ja
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/NEWS.ja
-%%DOCSDIR%%/PGP-Notes.txt
-%%DOCSDIR%%/PGP-Notes.ja.txt
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README.ja
-%%DOCSDIR%%/README.JA-PATCH.ja
-%%DOCSDIR%%/README.SECURITY
-%%DOCSDIR%%/README.SECURITY.ja
-%%DOCSDIR%%/README.SSL
-%%DOCSDIR%%/README.SSL.ja
-%%DOCSDIR%%/TODO
-%%DOCSDIR%%/applying-patches.txt
-%%DOCSDIR%%/applying-patches.ja.txt
-%%DOCSDIR%%/devel-notes.txt
-%%DOCSDIR%%/html/INSTALL.JA-PATCH.ja.html
-%%DOCSDIR%%/html/README.JA-PATCH.ja.html
-%%DOCSDIR%%/html/manual-1.html
-%%DOCSDIR%%/html/manual-2.html
-%%DOCSDIR%%/html/manual-3.html
-%%DOCSDIR%%/html/manual-4.html
-%%DOCSDIR%%/html/manual-5.html
-%%DOCSDIR%%/html/manual-6.html
-%%DOCSDIR%%/html/manual-7.html
-%%DOCSDIR%%/html/manual.html
-%%DOCSDIR%%/html/manual-ja-patch.en.html
-%%DOCSDIR%%/html/manual-ja-patch.ja.html
-%%DOCSDIR%%/html/usage-japanese.ja.html
-%%DOCSDIR%%/manual.txt
-%%DOCSDIR%%/manual_ja.html
-%%DOCSDIR%%/manual_ja.sgml
-%%DOCSDIR%%/manual_ja.tex
-%%DOCSDIR%%/manual_ja.txt
-%%DOCSDIR%%/patch-notes.txt
-%%DOCSDIR%%/samples/Mush.rc
-%%DOCSDIR%%/samples/Pine.rc
-%%DOCSDIR%%/samples/Tin.rc
-%%DOCSDIR%%/samples/ca-bundle.crt
-%%DOCSDIR%%/samples/gpg.rc
-%%DOCSDIR%%/samples/iconv/iconv.aix-3.2.5.rc
-%%DOCSDIR%%/samples/iconv/iconv.aix-4.1.5.rc
-%%DOCSDIR%%/samples/iconv/iconv.aix-4.2.0.rc
-%%DOCSDIR%%/samples/iconv/iconv.aix-4.3.2.rc
-%%DOCSDIR%%/samples/iconv/iconv.freebsd-3.3.rc
-%%DOCSDIR%%/samples/iconv/iconv.glibc-2.1.3.rc
-%%DOCSDIR%%/samples/iconv/iconv.glibc-2.1.90.rc
-%%DOCSDIR%%/samples/iconv/iconv.hpux-10.01.rc
-%%DOCSDIR%%/samples/iconv/iconv.hpux-10.20.rc
-%%DOCSDIR%%/samples/iconv/iconv.hpux-11.00.rc
-%%DOCSDIR%%/samples/iconv/iconv.irix-6.5.rc
-%%DOCSDIR%%/samples/iconv/iconv.osf1-4.0a.rc
-%%DOCSDIR%%/samples/iconv/iconv.osf1-4.0d.rc
-%%DOCSDIR%%/samples/iconv/iconv.solaris-2.4.rc
-%%DOCSDIR%%/samples/iconv/iconv.solaris-2.5.1.rc
-%%DOCSDIR%%/samples/iconv/iconv.solaris-2.6-cjk.rc
-%%DOCSDIR%%/samples/iconv/iconv.solaris-2.6.rc
-%%DOCSDIR%%/samples/iconv/iconv.solaris-2.7.rc
-%%DOCSDIR%%/samples/mutt-en.rc
-%%DOCSDIR%%/samples/mutt-ja.rc
-%%DOCSDIR%%/samples/pgp2.rc
-%%DOCSDIR%%/samples/pgp5.rc
-%%DOCSDIR%%/samples/pgp6.rc
-%%DOCSDIR%%/samples/sample.mailcap
-%%DOCSDIR%%/samples/sample.muttrc
-%%DOCSDIR%%/samples/sample.muttrc-tlr
-%%DOCSDIR%%/samples/sample.muttrc-tt
-%%DOCSDIR%%/samples/smime.rc
-%%DOCSDIR%%/samples/smime_keys_test.pl
-%%DOCSDIR%%/samples/colors.default
-%%DOCSDIR%%/samples/colors.linux
-%%DOCSDIR%%/smime-notes.txt
-%%DOCSDIR%%/smime-notes.ja.txt
+%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.old
+%%PORTDOCS%%%%DOCSDIR%%/GPL
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.ja
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL.JA-PATCH.ja
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/NEWS.ja
+%%PORTDOCS%%%%DOCSDIR%%/PGP-Notes.txt
+%%PORTDOCS%%%%DOCSDIR%%/PGP-Notes.ja.txt
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.ja
+%%PORTDOCS%%%%DOCSDIR%%/README.JA-PATCH.ja
+%%PORTDOCS%%%%DOCSDIR%%/README.SECURITY
+%%PORTDOCS%%%%DOCSDIR%%/README.SECURITY.ja
+%%PORTDOCS%%%%DOCSDIR%%/README.SSL
+%%PORTDOCS%%%%DOCSDIR%%/README.SSL.ja
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/applying-patches.txt
+%%PORTDOCS%%%%DOCSDIR%%/applying-patches.ja.txt
+%%PORTDOCS%%%%DOCSDIR%%/devel-notes.txt
+%%PORTDOCS%%%%DOCSDIR%%/html/INSTALL.JA-PATCH.ja.html
+%%PORTDOCS%%%%DOCSDIR%%/html/README.JA-PATCH.ja.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-1.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-2.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-3.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-4.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-5.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-6.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-7.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-ja-patch.en.html
+%%PORTDOCS%%%%DOCSDIR%%/html/manual-ja-patch.ja.html
+%%PORTDOCS%%%%DOCSDIR%%/html/usage-japanese.ja.html
+%%PORTDOCS%%%%DOCSDIR%%/manual.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual_ja.html
+%%PORTDOCS%%%%DOCSDIR%%/manual_ja.sgml
+%%PORTDOCS%%%%DOCSDIR%%/manual_ja.tex
+%%PORTDOCS%%%%DOCSDIR%%/manual_ja.txt
+%%PORTDOCS%%%%DOCSDIR%%/manual.ja.html
+%%PORTDOCS%%%%DOCSDIR%%/manual.ja.sgml
+%%PORTDOCS%%%%DOCSDIR%%/manual.ja.txt
+%%PORTDOCS%%%%DOCSDIR%%/patch-notes.txt
+%%PORTDOCS%%%%DOCSDIR%%/samples/Mush.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/Pine.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/Tin.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/ca-bundle.crt
+%%PORTDOCS%%%%DOCSDIR%%/samples/gpg.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.aix-3.2.5.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.aix-4.1.5.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.aix-4.2.0.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.aix-4.3.2.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.freebsd-3.3.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.glibc-2.1.3.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.glibc-2.1.90.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.hpux-10.01.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.hpux-10.20.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.hpux-11.00.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.irix-6.5.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.osf1-4.0a.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.osf1-4.0d.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.solaris-2.4.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.solaris-2.5.1.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.solaris-2.6-cjk.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.solaris-2.6.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/iconv/iconv.solaris-2.7.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/mutt-en.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/mutt-ja.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/pgp2.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/pgp5.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/pgp6.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/sample.mailcap
+%%PORTDOCS%%%%DOCSDIR%%/samples/sample.muttrc
+%%PORTDOCS%%%%DOCSDIR%%/samples/sample.muttrc-tlr
+%%PORTDOCS%%%%DOCSDIR%%/samples/sample.muttrc-tt
+%%PORTDOCS%%%%DOCSDIR%%/samples/smime.rc
+%%PORTDOCS%%%%DOCSDIR%%/samples/smime_keys_test.pl
+%%PORTDOCS%%%%DOCSDIR%%/samples/colors.default
+%%PORTDOCS%%%%DOCSDIR%%/samples/colors.linux
+%%PORTDOCS%%%%DOCSDIR%%/smime-notes.txt
+%%PORTDOCS%%%%DOCSDIR%%/smime-notes.ja.txt
 %%NLS%%share/locale/ca/LC_MESSAGES/mutt.mo
 %%NLS%%share/locale/cs/LC_MESSAGES/mutt.mo
 %%NLS%%share/locale/da/LC_MESSAGES/mutt.mo
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list