diff options
author | Ciaran McCreesh <ciaran.mccreesh@googlemail.com> | 2011-06-22 20:59:22 +0100 |
---|---|---|
committer | Ciaran McCreesh <ciaran.mccreesh@googlemail.com> | 2011-06-28 08:28:14 +0100 |
commit | b1bda8eeff28d1547a689a549a9f7b20d653a087 (patch) | |
tree | 1664257fa34218b0e4fd702495769829b1b49a31 | |
parent | Disallow starting category, package and slot names with +. (diff) | |
download | pms-b1bda8eeff28d1547a689a549a9f7b20d653a087.tar.gz pms-b1bda8eeff28d1547a689a549a9f7b20d653a087.tar.bz2 pms-b1bda8eeff28d1547a689a549a9f7b20d653a087.zip |
Clarify RDEPEND=DEPEND wording
As worded, it could be taken to imply that ebuilds could grep RDEPEND in
a phase function and expect DEPEND-specified values (and possibly not
eclass-specified values) to appear in there. This goes against the
general rules for globally specified variables.
-rw-r--r-- | ebuild-vars.tex | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ebuild-vars.tex b/ebuild-vars.tex index d183305..d971234 100644 --- a/ebuild-vars.tex +++ b/ebuild-vars.tex @@ -129,11 +129,13 @@ ideally, an error in one ebuild should not prevent operations upon other ebuilds \featurelabel{rdepend-depend} In EAPIs listed in table~\ref{tab:rdepend-depend-table} as having \t{RDEPEND=DEPEND}, if \t{RDEPEND} is unset (but not if it is set to an empty string) in an ebuild, -the package manager must set its value to be equal to the value of \t{DEPEND}. +when generating metadata the package manager must treat its value as being equal to the value of +\t{DEPEND}. When dealing with eclasses, only values set in the ebuild itself are considered for this behaviour; any \t{DEPEND} or \t{RDEPEND} set in an eclass does not change the implicit \t{RDEPEND=DEPEND} for -the ebuild portion, and any \t{DEPEND} value set in an eclass does not get added to \t{RDEPEND}. +the ebuild portion, and any \t{DEPEND} value set in an eclass does not get treated as being part of +\t{RDEPEND}. \begin{centertable}{EAPIs with \t{RDEPEND=DEPEND} Default} \label{tab:rdepend-depend-table} \begin{tabular}{ l l } |