summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-15 21:39:57 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-15 21:39:57 +0000
commita2c92fca8dd6c7c23cff35e7d94edba7b03bb134 (patch)
treea3fc9bdcae6cf555acc3761622eb4fd427fe9e5a
parentb74e3e1fa5b14634f0faf26740e7ad99cccecb37 (diff)
downloadportage-a2c92fca8dd6c7c23cff35e7d94edba7b03bb134.tar.gz
portage-a2c92fca8dd6c7c23cff35e7d94edba7b03bb134.tar.bz2
portage-a2c92fca8dd6c7c23cff35e7d94edba7b03bb134.zip
Update documentation of inherit. Reported by Jeremy Olexa.
svn path=/main/trunk/; revision=14274
-rw-r--r--man/ebuild.59
1 files changed, 5 insertions, 4 deletions
diff --git a/man/ebuild.5 b/man/ebuild.5
index a464541ad..1ee42ff67 100644
--- a/man/ebuild.5
+++ b/man/ebuild.5
@@ -511,10 +511,11 @@ Inherit is portage's maintenance of extra classes of functions that are
external to ebuilds and provided as inheritable capabilities and data. They
define functions and set data types as drop\-in replacements, expanded, and
simplified routines for extremely common tasks to streamline the build
-process. Inherit may only be called once in an ebuild and it may \fBnever be
-wrapped within any conditionals\fR of any kind. Specification of the eclasses
-contains only their name and not the \fI.eclass\fR extension. Also note that
-the inherit statement must come before other variable declarations.
+process. Call to inherit cannot depend on conditions which can vary in given
+ebuild. Specification of the eclasses contains only their name and not the
+\fI.eclass\fR extension. Also note that the inherit statement must come
+before other variable declarations unless these variables are used in global
+scope of eclasses.
.SH "PHASE FUNCTIONS"
.TP
.B pkg_nofetch