Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-7 commit in: /
Date: Thu, 28 Sep 2017 20:53:24
Message-Id: 1506631128.e3fcc9931dd072ced745d9d98a2e661cc323bcba.mgorny@gentoo
1 commit: e3fcc9931dd072ced745d9d98a2e661cc323bcba
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 19 21:36:40 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 20:38:48 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=e3fcc993
7
8 EAPI 7: econf adds --with-sysroot
9
10 Bug: https://bugs.gentoo.org/317337
11
12 eapi-differences.tex | 3 ++-
13 pkg-mgr-commands.tex | 17 +++++++++++------
14 2 files changed, 13 insertions(+), 7 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index f3c68f6..31cc5f6 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -212,7 +212,7 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} &
21 & disable dependency tracking &
22 disable dependency tracking, disable silent rules &
23 disable dependency tracking, disable silent rules, docdir, htmldir &
24 - disable dependency tracking, disable silent rules, docdir, htmldir \\
25 + disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot \\
26
27 \t{dodoc -r} & \compactfeatureref{dodoc} &
28 No & Yes & Yes & Yes & Yes \\
29 @@ -408,6 +408,7 @@ EAPI 7 is EAPI 6 with the following changes:
30 \featureref{trailing-slash}.
31 \item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}.
32 \item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}.
33 +\item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}.
34 \end{compactitem}
35
36 \ChangeWhenAddingAnEAPI{7}
37
38 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
39 index 5bb8b68..6a4415d 100644
40 --- a/pkg-mgr-commands.tex
41 +++ b/pkg-mgr-commands.tex
42 @@ -283,6 +283,9 @@ current phase function has returned.
43 \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, if the EAPI is listed
44 in table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
45 string \t{-{}-htmldir} occurs in the output of \t{configure -{}-help}.
46 + \item -{}-with-sysroot must be \t{\$\{ESYSROOT\}}, if the EAPI is listed in
47 + table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
48 + string \t{-{}-with-sysroot} occurs in the output of \t{configure -{}-help}.
49 \item -{}-host must be the value of the \t{CHOST} environment variable.
50 \item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
51 \item -{}-disable-dependency-tracking, if the EAPI is listed in
52 @@ -296,18 +299,20 @@ current phase function has returned.
53 \ChangeWhenAddingAnEAPI{7}
54 \begin{centertable}{Extra \t{econf} arguments for EAPIs}
55 \label{tab:econf-options-table}
56 - \begin{tabular}{lllll}
57 + \begin{tabular}{llllll}
58 \toprule
59 \multicolumn{1}{c}{\textbf{EAPI}} &
60 \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking}} &
61 \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules}} &
62 \multicolumn{1}{c}{\textbf{-{}-docdir}} &
63 - \multicolumn{1}{c}{\textbf{-{}-htmldir}} \\
64 + \multicolumn{1}{c}{\textbf{-{}-htmldir}} &
65 + \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} \\
66 \midrule
67 - 0, 1, 2, 3 & No & No & No & No \\
68 - 4 & Yes & No & No & No \\
69 - 5 & Yes & Yes & No & No \\
70 - 6, 7 & Yes & Yes & Yes & Yes \\
71 + 0, 1, 2, 3 & No & No & No & No & No \\
72 + 4 & Yes & No & No & No & No \\
73 + 5 & Yes & Yes & No & No & No \\
74 + 6 & Yes & Yes & Yes & Yes & No \\
75 + 7 & Yes & Yes & Yes & Yes & Yes \\
76 \bottomrule
77 \end{tabular}
78 \end{centertable}