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 E57BC1396D0 for ; Wed, 4 Oct 2017 20:47:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 50E4BE0D76; Wed, 4 Oct 2017 20:47:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 1F9AEE0D76 for ; Wed, 4 Oct 2017 20:47:44 +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 AD0AD341671; Wed, 4 Oct 2017 20:47:42 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-pms@lists.gentoo.org Cc: James Le Cuirot Subject: [gentoo-pms] [PATCH 12/28] EAPI 7: econf adds --with-sysroot Date: Wed, 4 Oct 2017 22:46:56 +0200 Message-Id: <20171004204712.10391-13-mgorny@gentoo.org> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20171004204712.10391-1-mgorny@gentoo.org> References: <20171004204712.10391-1-mgorny@gentoo.org> 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: 7c76ca49-337e-49a6-9079-a1bdb2b32264 X-Archives-Hash: 429de0d3d01afb3ec5648ffb64c03a47 From: James Le Cuirot Bug: https://bugs.gentoo.org/317337 --- eapi-differences.tex | 3 ++- pkg-mgr-commands.tex | 17 +++++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index f3c68f6..31cc5f6 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -212,7 +212,7 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & & 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 \\ + disable dependency tracking, disable silent rules, docdir, htmldir, with sysroot \\ \t{dodoc -r} & \compactfeatureref{dodoc} & No & Yes & Yes & Yes & Yes \\ @@ -408,6 +408,7 @@ EAPI 7 is EAPI 6 with the following changes: \featureref{trailing-slash}. \item \t{patch} is compatible with GNU patch 2.7, \featureref{gnu-patch}. \item \t{SYSROOT} and \t{ESYSROOT} added, \featureref{sysroot}. +\item \t{econf} adds \t{-{}-with-sysroot}, \featureref{econf-options}. \end{compactitem} \ChangeWhenAddingAnEAPI{7} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 5bb8b68..6a4415d 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -283,6 +283,9 @@ current phase function has returned. \item -{}-htmldir must be \t{\$\{EPREFIX\}/usr/share/doc/\$\{PF\}/html}, 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{-{}-htmldir} occurs in the output of \t{configure -{}-help}. + \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 -{}-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 @@ -296,18 +299,20 @@ current phase function has returned. \ChangeWhenAddingAnEAPI{7} \begin{centertable}{Extra \t{econf} arguments for EAPIs} \label{tab:econf-options-table} - \begin{tabular}{lllll} + \begin{tabular}{llllll} \toprule \multicolumn{1}{c}{\textbf{EAPI}} & \multicolumn{1}{c}{\textbf{-{}-disable-dependency-tracking}} & \multicolumn{1}{c}{\textbf{-{}-disable-silent-rules}} & \multicolumn{1}{c}{\textbf{-{}-docdir}} & - \multicolumn{1}{c}{\textbf{-{}-htmldir}} \\ + \multicolumn{1}{c}{\textbf{-{}-htmldir}} & + \multicolumn{1}{c}{\textbf{-{}-with-sysroot}} \\ \midrule - 0, 1, 2, 3 & No & No & No & No \\ - 4 & Yes & No & No & No \\ - 5 & Yes & Yes & No & No \\ - 6, 7 & Yes & Yes & Yes & Yes \\ + 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 \\ \bottomrule \end{tabular} \end{centertable} -- 2.14.2