diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-03-18 08:30:40 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2017-03-18 09:15:13 +0100 |
commit | b18166a8482c01a365b11efa12d72282b88e4d86 (patch) | |
tree | 1fa39bc14b8a603b44506ea990404ddd1452e6c7 /ebuild-env-vars.tex | |
parent | ebuild-env-vars: Allow FILESDIR to be a shadow directory (diff) | |
download | pms-b18166a8482c01a365b11efa12d72282b88e4d86.tar.gz pms-b18166a8482c01a365b11efa12d72282b88e4d86.tar.bz2 pms-b18166a8482c01a365b11efa12d72282b88e4d86.zip |
ebuild-env-vars: Require DISTDIR & FILESDIR to be consistent
Require both DISTDIR and FILESDIR variables to have consistent value
across phases. We need to guarantee that the value used in global scope
to propagate PATCHES array will be still valid in src_prepare().
Furthermore, as Ulrich Müller points out that PMS requires ebuilds to
recalculate any value derived from inconsistent variables, therefore
colliding with the global-scope assignment.
Diffstat (limited to 'ebuild-env-vars.tex')
-rw-r--r-- | ebuild-env-vars.tex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 6b74d90..262bcf9 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -86,14 +86,14 @@ variable. \t{FILESDIR} & \t{src\_*}, global~scope\footnote{Not necessarily present when installing from a binary package. Ebuilds must not access the directory in global scope.} & - No & + Yes & The full path to a directory where the files from the package's files directory (used for small support files or patches) are available. See section~\ref{sec:package-dirs}. May or may not exist; if a repository provides no support files for the package in question then an ebuild must be prepared for the situation where \t{FILESDIR} points to a non-existent directory. \\ \t{DISTDIR} & Ditto & - No & + Yes & The full path to the directory in which the files in the \t{A} variable are stored. \\ \t{PORTDIR} & \t{src\_*} & |