Ciaran McCreesh wrote:
On Sat, 12 Aug 2006 16:11:25 -0400 Alec Warner <[EMAIL PROTECTED]>
wrote:
| Ciaran McCreesh wrote:
| > On Sat, 12 Aug 2006 13:24:49 -0700 Zac Medico <[EMAIL PROTECTED]>
| > wrote:
| > | Currently, portage only allows single inheritance in profiles, but
| > | it's easy to enable multiple inheritance.  In order to do this, we
| > | only need to unconstrain the number of parents allowed in the
| > | parent file (only 1 is currently allowed).  When a parent file
| > | contains multiple parents, parents listed later if the file will
| > | have the ability to override those listed earlier in the file.
| | I still like Mixin's[1] with node deps ;)

You can get the best of both worlds using straight MI, if the profile
tree is structured properly. Use the existing hierarchy for the 'main'
profile and mixins (nodes with no parent) as extras. The only problem
with this is Portage's current reliance upon a single symlink to
specify the profile... With Paludis one could do:

profiles = default-linux/x86/2006.0 extra/x86/pentium4 extra/misc/cookie

but with /etc/make.profile that's not an option...


Hmmm This sounds a lot more like what Kumba wanted than my original thoughts ;)
--
gentoo-dev@gentoo.org mailing list

Reply via email to