public inbox for gentoo-pms@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-pms] [PATCH eapi-7] EAPI 7: econf passes --build.
Date: Sat, 17 Feb 2018 10:18:13 +0100	[thread overview]
Message-ID: <20180217091813.14206-1-mgorny@gentoo.org> (raw)

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



             reply	other threads:[~2018-02-17  9:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-17  9:18 Michał Górny [this message]
2018-02-17 11:38 ` [gentoo-pms] [PATCH eapi-7] EAPI 7: econf passes --build Ulrich Mueller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180217091813.14206-1-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-pms@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox