Subject: Re: pkg/24861: mail/metamail doesn't build on linux
To: None <froz@icix.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/20/2004 10:46:21
On Sat, 20 Mar 2004, Jeremy C. Reed wrote:
> MAKE_ENV+= -DLINUX
Sorry, I meant MAKE_ARGS, but that didn't work.
But this partially works:
CFLAGS.Linux+= -DLINUX
Then I see that patches/patch-ab has:
+#if !(defined(__sun__) && defined(__svr4__))
#define killpg(a, b) kill(-(a), (b))
+#endif
which is wrong for Linux.
And under Linux the bzero should not be defined in config.h.
And ./metamail/Makefile and ./richmail/Makefile assume Linux has
libtermcap which is not available as a package, but libncurses coule be
used for now.
This package has many problems.
Jeremy C. Reed
http://www.reedmedia.net/