-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 12/11/2013 07:54 PM, Greg Turner wrote: > On Wed, Dec 11, 2013 at 2:01 PM, hasufell <hasuf...@gentoo.org> wrote: >> I actually feel that some parts of this is not documentation, but rather >> "wiki". So maybe >> that's exactly where to put it? >> >> The doc in the eclass should only describe the behavior of the eclass and >> the main points you >> need to know in order to get it going. >> >> But it is not a strong feeling. > > I think you're probably right... I'll endeavor to re-factor this patch and > put the wiki stuff > into the wiki. > >>> +# it is often best to put multilib-minimal first on the inherits list. >> >> first? You mean last or what? > > I definitely meant first -- the existing in-source doc said "last" but I > thought that must > surely be a thinko... unless my understanding of how inherits works is > backwards -- the first, > not the last, inheritee gets the default phase-function implementations wired > up to it, > correct? I suppose another assumption I have, that, if not shared, might be > leading us to > opposite conclusions, is that a majority of inheritors would want the default > phase function > implementations to be wired up to multilib-minimal...? > > btw, based on the same criteria you mention above, some of what I've said > about the matter > probably better belongs in the wiki rather than the in-source doc. > > -gmt > >
The *last* eclass inherited that exports a particular function (via EXPORT_FUNCTIONS) is the one that prevails, not the *first*. Therefore, if it is expected that multilib-minimal.eclass's versions will be used, it should be nearer the end of the inherit line, not the beginning. - -- Jonathan Callen -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJSqSBrAAoJELHSF2kinlg4JcgP/2KKiXTcRkBUQmT0A5X0NLJV TqthtEKHlQhAuc9VjVtMj+h1UhAuDxsK4tasUBlXG6b3ab3o5drXVyD+rZWJHr8N FaqWuwSsbnIxp461DNVbQk5vhHAHY9oxFxT1rV/wjgFIK0d6yZxSBBDWWtWLbOba ev/FRw5LqnK8JkX/YaGCo6HYNSxaSGTRdeuSlndfF5dLYXRFO5JIR98S6YtsZWFY jXjKNcYQNVX/HAeU42LCMffgODSiCmLQPE9D5vhP9hOD9tLlBe6WZLt8iKKaBOug rBvRaQq9lL7obivYohMqR+7MCeCcvlDc6rMu1ZEdBMEfN39lzmTiAp9wXlYpbB7Q pM1YI97bqXGwS8lpBL6AIkS5Uep/0q1UD8bDw67PMtOrCh5Oi/SniCY8pdZCqpms bFYp+MgtYtvopI+vtn1P7/P4LBv9LspReQ7lVV4ukKSkuqx7L4B3Az3fiHcTV8ce XCzbSkR4ZOwvAypXtMRhmfcpIchVegqLwUIZHVRkUH9Qwd+o4dvpmBIxkUVdqFJD OINNplQ1/WqxJdonkFVzWUAO1jE67M91uf3zcimB63ioNKwSQGalVGQt3Rp1RfCd eJgsgkmtvI8fqhnkZTO+i70Xl89+JXhz+R4tfMewTId4wch+w3EiX3PKJUbF9rWK P6tuUW0eRNp6t7SU2ZdY =WMyy -----END PGP SIGNATURE-----