Gentoo Archives: gentoo-alt

From: Jeremy Olexa <darkside@g.o>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] [PREFIX] profiles arch subs?
Date: Tue, 19 May 2009 15:07:44
Message-Id: 90b936c0905190807i6438f2earb1686aea2a9b3b62@mail.gmail.com
In Reply to: Re: [gentoo-alt] [PREFIX] profiles arch subs? by Fabian Groffen
1 On Tue, May 19, 2009 at 9:56 AM, Fabian Groffen <grobian@g.o> wrote:
2 > On 19-05-2009 09:52:52 -0500, Jeremy Olexa wrote:
3 >> >> Like:
4 >> >> darwin/ppc/10.4
5 >> >> darwin/x86/10.4
6 >> >> darwin/ppc/10.5
7 >> >> darwin/x86/10.5
8 >> >
9 >> > No, just:
10 >> >
11 >> > darwin/ppc
12 >> > darwin/x86
13 >> > darwin/10.4/ppc
14 >> > darwin/10.4/x86
15 >> > darwin/10.5/ppc
16 >> > darwin/10.5/x86
17 >>
18 >> The less inheritance you have, the better/easier it is, IMO. So, I
19 >> would greatly prefer what I suggested to what you are suggesting. I
20 >> think. The end result is the same besides aesthetics. You can place a
21 >> mask in darwin/ppc/package.mask with both methods proposed.
22 >
23 > If I do your way, I have to duplicate masks that hold for a given
24 > release of the OS.
25
26 oh, interesting. I did not think of that. I guess I rescind my version
27 of the proposal then. =P
28
29 >
30 >> >> Is that how you are planning to do it? Because I think that makes the
31 >> >> most sense. If you look at linux/ - they are linux/<arch>/ (they skip
32 >> >> the <release> because it isn't needed)
33 >> >
34 >> > Well, that's just doing it the other way around?
35 >> >
36 >> >> Do also realize that this applies to *all* profiles, not just darwin
37 >> >> and solaris. Windows look like the only ones that won't need changing
38 >> >> because linux.
39 >> >
40 >> > Hmmm... not sure if other profiles are much in need for it.  Alternative
41 >> > is to create a prefix/arch/{x86,ppc,sparc,...}, or maybe even start
42 >> > inheriting arch/X.  In principle looks ok, but its linux biased
43 >> > sometimes...
44 >>
45 >> ew. No. prefix/arch/... has no business for us. The reason I say that
46 >> other profiles can benefit from my suggestion is when you look at
47 >> hpux, it will eventually have hppa and 11.{23,31}/{ia64,hppa} just
48 >> doesn't make sense when you need a mask for all hppa for example. The
49 >> same with sunos. So, maybe not all, but some profiles can use this
50 >> idea.
51 >
52 >
53 > --
54 > Fabian Groffen
55 > Gentoo on a different level
56 >
57 >