public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-pms] [PATCH eapi-7] EAPI 7: econf passes --build.
@ 2018-02-17  9:18 99% Michał Górny
  0 siblings, 0 replies; 1+ results
From: Michał Górny @ 2018-02-17  9:18 UTC (permalink / raw
  To: gentoo-pms; +Cc: Michał Górny

Explicitly list passing --build by econf, as necessary to pass CBUILD
for cross-compilation. This has probably been missed in previous feature
list for EAPI 7 as Portage is doing it already.
---
 eapi-differences.tex |  3 ++-
 pkg-mgr-commands.tex | 20 ++++++++++++--------
 2 files changed, 14 insertions(+), 9 deletions(-)

 TODO: do we want --target for CTARGET as well?

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 2d6fd25..69d5500 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -257,7 +257,7 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} &
     None & disable dependency tracking &
     disable dependency tracking, disable silent rules &
     disable dependency tracking, disable silent rules, docdir, htmldir &
-    disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot \\
+    disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot, build \\
 
 \t{dodoc -r} & \compactfeatureref{dodoc} &
     No & Yes & Yes & Yes & Yes \\
@@ -487,6 +487,7 @@ EAPI 7 is EAPI 6 with the following changes:
 \item \t{domo} installs to \t{/usr}, \featureref{domo-path}.
 \item Controllable stripping and \t{dostrip}, \featureref{dostrip}.
 \item Version manipulation and comparison commands, \featureref{ver-commands}.
+\item \t{econf} adds \t{-{}-build}, \featureref{econf-options}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{7}
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index c7ff680..2760ea8 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -340,6 +340,9 @@ current phase function has returned.
     \item -{}-with-sysroot must be \t{\$\{ESYSROOT\}}, if the EAPI is listed in
         table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
         string \t{-{}-with-sysroot} occurs in the output of \t{configure -{}-help}.
+    \item -{}-build must be the value of the \t{CBUILD} environment variable, if the EAPI is listed
+        table~\ref{tab:econf-options-table} as using it. This option will only be passed if the
+        \t{CBUILD} variable is set to a non-empty value.
     \item -{}-host must be the value of the \t{CHOST} environment variable.
     \item -{}-libdir must be set according to Algorithm~\ref{alg:econf-libdir}.
     \item -{}-disable-dependency-tracking, if the EAPI is listed in
@@ -353,20 +356,21 @@ current phase function has returned.
     \ChangeWhenAddingAnEAPI{7}
     \begin{centertable}{Extra \t{econf} arguments for EAPIs}
         \label{tab:econf-options-table}
-        \begin{tabular}{llllll}
+        \begin{tabular}{lllllll}
           \toprule
           \multicolumn{1}{c}{\textbf{EAPI}} &
-          \multicolumn{1}{P{9em}}{\textbf{-{}-disable-dependency-tracking}} &
+          \multicolumn{1}{P{5em}}{\textbf{-{}-disable-dependency-tracking}} &
           \multicolumn{1}{P{5em}}{\textbf{-{}-disable-silent-rules}} &
           \multicolumn{1}{c}{\textbf{-{}-docdir}} &
           \multicolumn{1}{c}{\textbf{-{}-htmldir}} &
-          \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} \\
+          \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} &
+          \multicolumn{1}{c}{\textbf{-{}-build}} \\
           \midrule
-          0, 1, 2, 3        & No  & No  & No  & No  & No  \\
-          4                 & Yes & No  & No  & No  & No  \\
-          5                 & Yes & Yes & No  & No  & No  \\
-          6                 & Yes & Yes & Yes & Yes & No  \\
-          7                 & Yes & Yes & Yes & Yes & Yes \\
+          0, 1, 2, 3        & No  & No  & No  & No  & No  & No  \\
+          4                 & Yes & No  & No  & No  & No  & No  \\
+          5                 & Yes & Yes & No  & No  & No  & No  \\
+          6                 & Yes & Yes & Yes & Yes & No  & No  \\
+          7                 & Yes & Yes & Yes & Yes & Yes & Yes \\
           \bottomrule
         \end{tabular}
     \end{centertable}
-- 
2.16.1



^ permalink raw reply related	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2018-02-17  9:18 99% [gentoo-pms] [PATCH eapi-7] EAPI 7: econf passes --build Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox