Index: head/japanese/mh/Makefile =================================================================== --- head/japanese/mh/Makefile (revision 568280) +++ head/japanese/mh/Makefile (revision 568281) @@ -1,68 +1,68 @@ # Created by: Akito FUJITA # $FreeBSD$ PORTNAME= mh PORTVERSION= ${VERSION}.j${JP_VERSION} -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= japanese mail MASTER_SITES= ftp://ftp.laic.u-hyogo.ac.jp/pub/net/mh/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${VERSION}-JP-${JP_VERSION} MAINTAINER= CQG00620@nifty.ne.jp COMMENT= Rand MH mail handling system + Japanese patches BROKEN_FreeBSD_13= ld: error: duplicate symbol: wantcomp BROKEN_FreeBSD_14= ld: error: duplicate symbol: wantcomp BUILD_DEPENDS= jless:japanese/less RUN_DEPENDS= jless:japanese/less VERSION= 6.8.4 JP_VERSION= 3.05 GNU_CONFIGURE= yes CONFIGURE_ARGS= --enable-batchmode \ --enable-apop=${PREFIX}/etc/pop.auth \ --enable-jmandir=${MANPREFIX}/man/ja MAKE_JOBS_UNSAFE= yes CFLAGS+= -Wno-return-type LLD_UNSAFE= yes USE_LDCONFIG= yes PORTDOCS= 00.READ.ME.1ST CHANGES.JP COMMANDS.JP FAQ.JP FEATURES.JP \ INSTALL.JP OPTIONS.JP READ-ME.JP TODO.JP DOCSDIR= ${PREFIX}/share/doc/${PKGBASE} CONFLICTS= nmh-[0-9]* OPTIONS_DEFINE= DOCS post-patch: ${REINPLACE_CMD} -e "s/-O /${CFLAGS} /g" ${WRKSRC}/configure .for i in comp dist forw mh-mail mhl ja-comp ja-dist ja-forw ja-mh-mail ja-mhl @(cd ${WRKSRC}/conf/doc && \ ${AWK} '{ \ if (/^\.so/) { \ ifile="../../support/general" substr($$2, index($$2, "/")); \ while((getline l < ifile > 0)) \ print l; \ close(ifile); \ } else \ print; \ }' ${i}.rf > ${i}.tmp && ${MV} ${i}.tmp ${i}.rf) .endfor post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/* ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmh.so.3 .for i in ap conflict dp fmtdump install-mh mhl post rcvdist rcvpack rcvstore rcvtty slocal spost ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mh/${i} .endfor post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc-JP && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}) .include Index: head/japanese/mh/files/patch-h_formatsbr.h =================================================================== --- head/japanese/mh/files/patch-h_formatsbr.h (nonexistent) +++ head/japanese/mh/files/patch-h_formatsbr.h (revision 568281) @@ -0,0 +1,11 @@ +--- h/formatsbr.h.orig 1993-12-01 04:00:26 UTC ++++ h/formatsbr.h +@@ -32,7 +32,7 @@ struct comp { + + extern int fmt_norm; + +-struct comp *wantcomp[128]; /* hash table for deciding if a ++extern struct comp *wantcomp[128]; /* hash table for deciding if a + * component is "interesting" */ + + /* Property changes on: head/japanese/mh/files/patch-h_formatsbr.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/japanese/mh/files/patch-sbr_fmtcompile.c =================================================================== --- head/japanese/mh/files/patch-sbr_fmtcompile.c (nonexistent) +++ head/japanese/mh/files/patch-sbr_fmtcompile.c (revision 568281) @@ -0,0 +1,11 @@ +--- sbr/fmtcompile.c.orig 2001-04-02 16:06:09 UTC ++++ sbr/fmtcompile.c +@@ -24,6 +24,8 @@ static int infunction; /* function nesting cnt */ + extern char *getusr(); + extern struct mailname fmt_mnull; + ++struct comp *wantcomp[128]; ++ + struct ftable { + char *name; /* function name */ + char type; /* argument type */ Property changes on: head/japanese/mh/files/patch-sbr_fmtcompile.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property