Subject: Re: using ${PLATFORM} instead of ${OPSYS}
To: Roland Illig <roland.illig@gmx.de>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 05/26/2005 11:19:06
On Sat, 14 May 2005, Roland Illig wrote:
> on pkgsrcCon 2005 it was suggested that we don't keep the 1:1 relation between
> supported platforms and their operating system names. This might be useful for
> IRIX and perhaps other platforms that change heavily depending on the version
> number.
>
> So I suggest a new variable PLATFORM to be introduced which is used when we
> refer to a platform instead of an operating system. The default value for
> PLATFORM would of course be ${OPSYS}, to make migration smooth.
Actually, we already have one. It's called MACHINE_PLATFORM.
For an example of heavy usage of this variable, see pkgsrc/mk/java-vm.mk.
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>