From 075f162b4e737a26472a9fbfed7936d9df6c6da9 Mon Sep 17 00:00:00 2001 From: Alexander Berntsen Date: Mon, 12 Aug 2013 01:04:06 +0200 Subject: [PATCH] man/portage.5: Add notes about order, bug #388781 --- man/portage.5 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/man/portage.5 b/man/portage.5 index 38c6d8c..a6b0ca7 100644 --- a/man/portage.5 +++ b/man/portage.5 @@ -679,7 +679,9 @@ single package. .BR package.env Per\-package environment variable settings. Entries refer to environment files that are placed in the \fB/etc/portage/env/\fR -directory and have the same format as \fBmake.conf\fR(5). +directory and have the same format as \fBmake.conf\fR(5). Note that these +files are interpreted much earlier than the package specific bashrc files in +\fB/etc/portage/env/\fR. .I Format: .nf @@ -935,7 +937,9 @@ needed, then \fB/etc/portage/package.env\fR should be used instead of the bashrc approach that is described here. Also note that special variables such as \fBFEATURES\fR and \fBINSTALL_MASK\fR will not produce the intended results if they are set in bashrc, and therefore -\fB/etc/portage/package.env\fR should be used instead. +\fB/etc/portage/package.env\fR should be used instead. Lastly, note that these +files are interpreted much later than the portage enviroment file +\fBpackage.env\fR. Portage will source all of these bashrc files after \fB/etc/portage/bashrc\fR in the following order: -- 1.8.1.5