diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/portage.5 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/man/portage.5 b/man/portage.5 index fb354c220..6c78cbd54 100644 --- a/man/portage.5 +++ b/man/portage.5 @@ -59,6 +59,9 @@ package.use repos.conf .fi .TP +.BR /etc/portage/env/ +package-specific bashrc files +.TP .BR /etc/portage/profile/ site-specific overrides of \fB/etc/make.profile/\fR .TP @@ -407,6 +410,8 @@ it were a single file. If needed, this file can be used to set up a special environment for ebuilds, different from the standard root environment. The syntax is the same as for any other bash script. + +Additional package-specific bashrc files can be created in /etc/portage/env. .TP .BR categories A simple list of valid categories that may be used in /usr/portage, @@ -616,6 +621,22 @@ masters = gentoo kde .fi .RE .TP +.BR /etc/portage/env/ +.RS +In this directory additional package-specific bashrc files can be created. +Portage will source all of them after \fB/etc/portage/bashrc\fR in the following +order: +.nr step 1 1 +.IP \n[step]. 3 +/etc/portage/env/${CATEGORY}/${PN} +.IP \n+[step]. +/etc/portage/env/${CATEGORY}/${PN}:${SLOT} +.IP \n+[step]. +/etc/portage/env/${CATEGORY}/${P} +.IP \n+[step]. +/etc/portage/env/${CATEGORY}/${PF} +.RE +.TP .BR /usr/portage/metadata/ .RS .TP |