On 10-02-2006 20:22:06 +0000, Ciaran McCreesh wrote:
> On Fri, 10 Feb 2006 19:25:47 +0100 Grobian <[EMAIL PROTECTED]> wrote:
> | On 09-02-2006 23:50:08 +0000, Ciaran McCreesh wrote:
> | > On Thu, 9 Feb 2006 22:48:32 +0100 Grobian <[EMAIL PROTECTED]>
> | > wrote:
> | > > Instead of proposing a 4-tuple [3]_ keyword, a 2-tuple
> | > > keyword is chosen for archs that require them.
> | > 
> | > Provision should be made for future ports that require more than two
> | > keywords. There's no particular reason to artificially limit this to
> | > two at this stage.
> | 
> | Can you come up with an example?
> 
> kfreebsd-gnu is, in effect, one example you're using already. You'd have
> x86 as the arch, FreeBSD as the kernel and GNU as the userland.

Yes, but you're actually mixing two things here now.  The right hand
side of the 2-tuple is not a kernel or userland, it is an OS, which
includes this in itself.  macos (even though the x is missing) implies a
darwin kernel, and mixed BSD/GNU userland.
If you really want to have kernel and userland in the keyword, then the
definition of the keyword should be different, and probably state that
it is always a 3-tuple and that the defaults are 'linux' and 'gnu' for
the 2nd and 3rd fields respectively.
I argue however, that this is not necessary, hence a 2-tuple of
"arch-os" is enough to just distinguish it from the others, while also
being descriptive to human readers.
-- 
gentoo-dev@gentoo.org mailing list

Reply via email to