1 |
commit: fa4ac9474048ec75af138fc61f22485c06aac5b7 |
2 |
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 29 09:31:58 2016 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 29 09:31:58 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=fa4ac947 |
7 |
|
8 |
Define the FILESDIR variable in global scope. |
9 |
|
10 |
This is needed for assigning PATCHES in EAPI 6. |
11 |
|
12 |
Also add a note that ebuilds must not access the actual directory |
13 |
in global scope. The situation is similar to WORKDIR which is also |
14 |
defined in global scope (for assigning S) but with the dir not being |
15 |
available there. |
16 |
|
17 |
ebuild-env-vars.tex | 12 +++++++----- |
18 |
1 file changed, 7 insertions(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex |
21 |
index 32cbde3..ba947e2 100644 |
22 |
--- a/ebuild-env-vars.tex |
23 |
+++ b/ebuild-env-vars.tex |
24 |
@@ -84,12 +84,14 @@ variable. |
25 |
of each element of the \t{SRC\_URI} ebuild metadata variable. Only for EAPIs listed in |
26 |
table~\ref{tab:removed-env-vars-table} as supporting \t{AA}. \\ |
27 |
\t{FILESDIR} & |
28 |
- \t{src\_*}\footnote{Not necessarily present when installing from a binary package} & |
29 |
+ \t{src\_*}, global~scope% |
30 |
+ \footnote{Not necessarily present when installing from a binary package} & |
31 |
No & |
32 |
- The full path to the package's files directory, used for small support files or |
33 |
- patches. See section~\ref{sec:package-dirs}. May or may not exist; if a repository provides no |
34 |
- support files for the package in question then an ebuild must be prepared for the situation |
35 |
- where \t{FILESDIR} points to a non-existent directory. \\ |
36 |
+ The full path to the package's files directory, used for small support files or patches. |
37 |
+ See section~\ref{sec:package-dirs}. Ebuilds must not access the directory in global scope. |
38 |
+ May or may not exist; if a repository provides no support files for the package in question |
39 |
+ then an ebuild must be prepared for the situation where \t{FILESDIR} points to a non-existent |
40 |
+ directory. \\ |
41 |
\t{PORTDIR} & |
42 |
Ditto & |
43 |
No & |