commit: 4bb4357f781832ece312de01e3b90be9f63082ad Author: James Le Cuirot <chewi <AT> gentoo <DOT> org> AuthorDate: Tue Sep 19 21:36:40 2017 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Wed Oct 4 20:22:57 2017 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=4bb4357f
EAPI 7: econf adds --with-sysroot 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}