diff options
author | Ulrich Müller <ulm@gentoo.org> | 2016-05-29 11:31:58 +0200 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2016-05-29 11:31:58 +0200 |
commit | fa4ac9474048ec75af138fc61f22485c06aac5b7 (patch) | |
tree | ccc1243b554cab811af6b5c608f9d848c7678c02 | |
parent | Use \textbackslash rather than math mode. (diff) | |
download | pms-fa4ac9474048ec75af138fc61f22485c06aac5b7.tar.gz pms-fa4ac9474048ec75af138fc61f22485c06aac5b7.tar.bz2 pms-fa4ac9474048ec75af138fc61f22485c06aac5b7.zip |
Define the FILESDIR variable in global scope.
This is needed for assigning PATCHES in EAPI 6.
Also add a note that ebuilds must not access the actual directory
in global scope. The situation is similar to WORKDIR which is also
defined in global scope (for assigning S) but with the dir not being
available there.
-rw-r--r-- | ebuild-env-vars.tex | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 32cbde3..ba947e2 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -84,12 +84,14 @@ variable. of each element of the \t{SRC\_URI} ebuild metadata variable. Only for EAPIs listed in table~\ref{tab:removed-env-vars-table} as supporting \t{AA}. \\ \t{FILESDIR} & - \t{src\_*}\footnote{Not necessarily present when installing from a binary package} & + \t{src\_*}, global~scope% + \footnote{Not necessarily present when installing from a binary package} & No & - The full path to the package's files directory, used for small support files or - patches. 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. \\ + The full path to the package's files directory, used for small support files or patches. + See section~\ref{sec:package-dirs}. Ebuilds must not access the directory in global scope. + 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{PORTDIR} & Ditto & No & |