1 |
pclouds came up with an interesting patch to support per package environment |
2 |
variables. I've updated it a little but it still needs some more work. |
3 |
Essentially package.env would be a list of "<atom> <file> [<file> ...]" where |
4 |
file is then read using getconfig() from /etc/portage/env/<file>. |
5 |
|
6 |
Using such an approach would also allow us to knock off bug #55708 |
7 |
(debug.eclass). Having a file similar to the one attached |
8 |
in /etc/portage/env/ by default would allow a user to switch a package to |
9 |
debugging quite easily. |
10 |
|
11 |
With a couple of small modifications to emerge to check FEATURES for |
12 |
"buildpkg" after the call to setcpv() is done rather than doing it once |
13 |
globally, this would also cover TGL's BUILD_PKGS addition too. Most package.* |
14 |
type things should be able to be killed off this way. |
15 |
|
16 |
Thoughts? |
17 |
|
18 |
-- |
19 |
Jason Stubbs |