-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 15/06/14 16:13, John Campbell wrote:
> On 06/14/2014 10:10 PM, Dale wrote: Yes, you can skip the version number. 
> It should be just like the package.* directories but for env(ironment) 
> variables.  It wouldn't suprise me if someone renamed it to package.env 
> someday like they did from package.keywords to package.accept_keywords.

*I* could be wrong, but this looks wrong.

The way I understand the environment overrides to work is:

You create a file in /etc/portage/env with your environment overrides:

file /etc/portage/env/notmpfs.conf:
PORTAGE_TMPDIR="/var/tmp/portage-notmp"

You then instruct which packages are to use a given environment override using
package.env:

file /etc/portage/package.env:
mail-client/thunderbird notmpfs.conf

When emerge begins work on a given atom, it will look at package.env to see if
there are any environment override directives given, and if so, use the
variables defined in the specified environment file to override those in
make.conf (or the default value if not specified).

At least, this is how I use /etc/portage/{,package.}env, and afaik is *how*
it's supposed to be used (as far as I understand man portage(5)).

Please, feel free to correct me if i'm wrong.

- -wraeth
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlOdP+wACgkQXcRKerLZ91mPygD/QNgEvnYIwnenijsM1ekj/2Hj
MvvHHojrdWHg4JudKAMA+wexTE9z9JEAYQRZARQS1NSd2sQj637cTpVl18NDE2BD
=vWhf
-----END PGP SIGNATURE-----

Reply via email to