Subject: pkg/37585: metamail fails to build under Linux
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <cheusov@tut.by>
List: pkgsrc-bugs
Date: 12/21/2007 16:50:09
>Number: 37585
>Category: pkg
>Synopsis: metamail fails to build under Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 21 16:50:09 +0000 2007
>Originator: Aleksey Cheusov
>Release: Linux
>Organization:
home
>Environment:
>Description:
=> Checking for non-existent script interpreters in metamail-2.7nb9
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/audiocompose" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/audiosend" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/extcompose" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/getfilename" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/mailserver" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/mailto-hebrew" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/metasend" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/patch-metamail" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/showaudio" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/showexternal" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/shownonascii" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/showpartial" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/showpicture" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/sun-audio-file" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/sun-message.csh" does not exist.
ERROR: [check-interpreter.mk] The interpreter "/bin/csh" of "/usr/pkg/bin/sun-to-mime" does not exist.
*** Error code 1
>How-To-Repeat:
>Fix:
Index: mail/metamail/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/mail/metamail/Makefile,v
retrieving revision 1.43
diff -u -r1.43 Makefile
--- mail/metamail/Makefile 21 Jul 2006 03:02:55 -0000 1.43
+++ mail/metamail/Makefile 21 Dec 2007 13:40:07 -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