From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DF6011382C5 for ; Sat, 17 Feb 2018 09:18:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0F7D8E09C1; Sat, 17 Feb 2018 09:18:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDE33E09C1 for ; Sat, 17 Feb 2018 09:18:20 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 7ED9E335C2A; Sat, 17 Feb 2018 09:18:18 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-pms@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-pms] [PATCH eapi-7] EAPI 7: econf passes --build. Date: Sat, 17 Feb 2018 10:18:13 +0100 Message-Id: <20180217091813.14206-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.16.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org X-Archives-Salt: 69a0a0af-ff76-42c3-ac17-5260ce80d83d X-Archives-Hash: 42f9d4b3b9ee5f00df463f416cecc1b2 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