Subject: mail/metail fails on Linux (patch)
To: None <netbsd-users@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: netbsd-users
Date: 11/23/2007 22:56:54
--=-=-=


http://mova.org/~cheusov/pub/pkgsrc-pbulk/Debian-etch/current/log//20071116.1117/metamail-2.7nb9/install.log

Can anybody aply the following patch?

--=-=-=
Content-Type: text/x-patch
Content-Disposition: inline; filename=metamail.diff
Content-Description: patch

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/metamail/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- Makefile	21 Jul 2006 03:02:55 -0000	1.43
+++ Makefile	23 Nov 2007 20:51:05 -0000
@@ -23,7 +23,18 @@
 
 EGDIR=		${PREFIX}/share/examples/metamail
 CONF_FILES=	${EGDIR}/mailcap ${PKG_SYSCONFDIR}/mailcap
-USE_TOOLS+=	bdftopcf
+USE_TOOLS+=	bdftopcf csh:run
+
+REPLACE_INTERPRETER+=	csh
+REPLACE.csh.old=	/bin/csh
+REPLACE.csh.new=	${CSH}
+REPLACE_FILES.csh=	bin/audiocompose bin/audiosend bin/extcompose
+REPLACE_FILES.csh+=	bin/getfilename bin/mailserver bin/mailto-hebrew
+REPLACE_FILES.csh+=	bin/metasend bin/patch-metamail bin/showaudio
+REPLACE_FILES.csh+=	bin/showexternal bin/shownonascii bin/showpartial
+REPLACE_FILES.csh+=	bin/showpicture bin/sun-audio-file bin/sun-message.csh
+REPLACE_FILES.csh+=	bin/sun-to-mime
+REPLACE_FILES.csh+=	fonts/Xmailto-hebrew fonts/Xshownonascii
 
 INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man4
 

--=-=-=


-- 
Best regards, Aleksey Cheusov.

--=-=-=--