Subject: mail/metamail fails on Linux (patch)
To: None <pkgsrc-users@netbsd.org>
From: Aleksey Cheusov <cheusov@tut.by>
List: pkgsrc-users
Date: 11/24/2007 12:34:00
--=-=-=


By mistake I sent this to the wrong mailing list.


--=-=-=
Content-Type: message/rfc822
Content-Disposition: inline

	by chen.chizhovka.net (Postfix) with ESMTP id 7C67C1A0C8
	for <cheusov@localhost>; Fri, 23 Nov 2007 23:18:40 +0200 (EET)
	by chen.chizhovka.net with POP3 (fetchmail-6.3.8)
	for <cheusov@localhost> (single-drop); Fri, 23 Nov 2007 23:18:40 +0200 (EET)
  by speedy.tutby.com (CommuniGate Pro SMTP 5.1.12)
  with ESMTP id 437777210 for cheusov@tut.by; Fri, 23 Nov 2007 22:57:39 +0200
  by tut.by (CommuniGate Pro SMTP 4.3.7)
  with ESMTPS id 1071186379 for cheusov@tut.by; Fri, 23 Nov 2007 22:57:41 +0200
	id D210863B5F4; Fri, 23 Nov 2007 20:57:09 +0000 (UTC)
	by mail.netbsd.org (Postfix) with ESMTP id 9C36863B123
	for <netbsd-users@netbsd.org>; Fri, 23 Nov 2007 20:57:07 +0000 (UTC)
  by speedy.tutby.com (CommuniGate Pro SMTP 5.1.12)
  with ESMTPA id 437777296 for netbsd-users@netbsd.org; Fri, 23 Nov 2007 22:57:01 +0200
To: netbsd-users@netbsd.org
Subject: mail/metail fails on Linux (patch)
From: Aleksey Cheusov <cheusov@tut.by>
Reply-To: netbsd-users@netbsd.org
Date: Fri, 23 Nov 2007 22:56:54 +0200
Message-ID: <s93ejegznmx.fsf@chen.chizhovka.net>
User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.1 (berkeley-unix)
Sender: netbsd-users-owner@NetBSD.org
Lines: 48
Xref: chen.chizhovka.net mail.netbsd-users:6526
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===-=-="

--===-=-=


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.

--===-=-=--

--=-=-=



-- 
Best regards, Aleksey Cheusov.

--=-=-=--