pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/28766: mail/nail: IRIX also has /usr/lib/sendmail
On Fri, Dec 24, 2004 at 01:48:00AM +0000, georg.schwarz%freenet.de@localhost
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
Home |
Main Index |
Thread Index |
Old Index