Subject: Re: pkg/24861: mail/metamail doesn't build on linux
To: None <firstname.lastname@example.org>
From: Jeremy C. Reed <email@example.com>
Date: 03/20/2004 10:24:11
On Sat, 20 Mar 2004 firstname.lastname@example.org wrote:
> metamail doesn't build on linux due to missing signal SIGEMT and some
> conflicting declarations.
I saw same.
> #ifndef LINUX
> - signal(SIGEMT, cleanup);
According to config.h, LINUX could be defined.
Maybe SIGEMT is needed by others?
> +#if !(defined(__linux__))
> #if defined(STDC_HEADERS) || defined(USG) || defined(SYSV)
> #include <string.h>
> #else /* not (STDC_HEADERS or USG) */
> #include <strings.h>
> #endif /* STDC_HEADERS or USG */
Maybe STDC_HEADERS or USG or SYSV should be set.
Looking at config.h again I see that setting LINUX will do:
#define SYSV /* Linux is SysV */
Can you try building metamail without your patches and in the
pkgsrc/metamail/Makefile have something like
Thanks for your PR.
Jeremy C. Reed