1 |
Bug: https://bugs.gentoo.org/815169 |
2 |
Signed-off-by: Ulrich Müller <ulm@g.o> |
3 |
--- |
4 |
eapi-differences.tex | 4 ++++ |
5 |
pkg-mgr-commands.tex | 18 ++++++++++++++++++ |
6 |
2 files changed, 22 insertions(+) |
7 |
|
8 |
diff --git a/eapi-differences.tex b/eapi-differences.tex |
9 |
index 19f5134..abf775c 100644 |
10 |
--- a/eapi-differences.tex |
11 |
+++ b/eapi-differences.tex |
12 |
@@ -282,6 +282,9 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} & |
13 |
disable dependency tracking, disable silent rules, disable static, |
14 |
datarootdir, docdir, htmldir, with sysroot \\ |
15 |
|
16 |
+\t{econf} better matching of options & \compactfeatureref{econf-options} & |
17 |
+ No & No & No & No & Yes \\ |
18 |
+ |
19 |
\t{dodoc -r} & \compactfeatureref{dodoc} & |
20 |
* & Yes & Yes & Yes & Yes \\ |
21 |
|
22 |
@@ -559,6 +562,7 @@ EAPI 9 is EAPI 8 with the following changes: |
23 |
\begin{compactitem} |
24 |
\item Comments in profiles \t{parent} file, \featureref{parent-comments}. |
25 |
\item Different default EAPI for profiles, \featureref{profile-eapi-default}. |
26 |
+\item \t{econf} matches \t{configure -{}-help} output better, \featureref{econf-options}. |
27 |
|
28 |
\end{compactitem} |
29 |
|
30 |
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex |
31 |
index dae13d4..fb8b1b8 100644 |
32 |
--- a/pkg-mgr-commands.tex |
33 |
+++ b/pkg-mgr-commands.tex |
34 |
@@ -345,6 +345,10 @@ commands once the current phase function has returned. |
35 |
\t{-{}-enable-static} occurs in the output of \t{configure -{}-help}. |
36 |
\end{itemize} |
37 |
|
38 |
+ For EAPIs listed in table~\ref{tab:econf-match-end} as matching the end of the option string, |
39 |
+ a string in \t{configure -{}-help} output will only match if is is not immediately followed by |
40 |
+ any of the characters \t{[A-Za-z0-9+_.-]}. |
41 |
+ |
42 |
\ChangeWhenAddingAnEAPI{9} % two places |
43 |
\begin{centertable}{Extra \t{econf} arguments for EAPIs} |
44 |
\label{tab:econf-options-table} |
45 |
@@ -374,6 +378,20 @@ commands once the current phase function has returned. |
46 |
\end{tabular} |
47 |
\end{centertable} |
48 |
|
49 |
+ \ChangeWhenAddingAnEAPI{9} |
50 |
+ \begin{centertable}{EAPIs matching end of option string in \t{configure -{}-help} output} |
51 |
+ \label{tab:econf-match-end} |
52 |
+ \begin{tabular}{ll} |
53 |
+ \toprule |
54 |
+ \multicolumn{1}{c}{\textbf{EAPI}} & |
55 |
+ \multicolumn{1}{c}{\textbf{Matches end of option string?}} \\ |
56 |
+ \midrule |
57 |
+ 0, 1, 2, 3, 4, 5, 6, 7, 8 & No \\ |
58 |
+ 9 & Yes \\ |
59 |
+ \bottomrule |
60 |
+ \end{tabular} |
61 |
+ \end{centertable} |
62 |
+ |
63 |
Note that the \t{\$\{EPREFIX\}} component represents the same offset-prefix as described in |
64 |
table~\ref{tab:defined-vars}. It facilitates offset-prefix installations which is supported by |
65 |
EAPIs listed in table~\ref{tab:offset-env-vars-table}. When no offset-prefix installation is in |
66 |
-- |
67 |
2.35.1 |