From b4a51b2d36676c692bbb5acfd485a849eacb3c10 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 38c6d8ca3..a6b0ca7d8 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: -- 2.26.2