From a2c92fca8dd6c7c23cff35e7d94edba7b03bb134 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Tue, 15 Sep 2009 21:39:57 +0000 Subject: Update documentation of inherit. Reported by Jeremy Olexa. svn path=/main/trunk/; revision=14274 --- man/ebuild.5 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'man/ebuild.5') 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 -- cgit v1.2.3-1-g7c22