Subject: Re: pkg/28766: mail/nail: IRIX also has /usr/lib/sendmail
To: None <georg.schwarz@freenet.de>
From: Alistair Crooks <agc@pkgsrc.org>
List: pkgsrc-bugs
Date: 12/24/2004 08:27:14
On Fri, Dec 24, 2004 at 01:48:00AM +0000, georg.schwarz@freenet.de wrote:
> >Fix:
> --- Makefile.orig 2004-12-24 02:02:07.000000000 +0100
> +++ Makefile 2004-12-24 02:02:51.000000000 +0100
> @@ -23,7 +23,7 @@
> MAKE_ENV+= "IPv6=-DHAVE_IPv6_FUNCS"
> .endif
>
> -.if (${OPSYS} == "SunOS")
> +.if ${OPSYS} == "SunOS" || ${OPSYS} == "IRIX"
> MAKE_ENV+= "SENDMAIL=/usr/lib/sendmail"
> .endif
In general, we're trying to abstract away from OS-dependent definitions.
Sounds to me like we should have a
DEFAULT_SENDMAIL_PATH= ...
in the platform definitions, and then the Makefile should be fixed to
use
MAKE_ENV+= "SENDMAIL=${DEFAULT_SENDMAIL_PATH}"
This would make it much more scalable (in general).
Regards,
Alistair