Gentoo Archives: gentoo-pms

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