From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-pms@lists.gentoo.org
Cc: "Ulrich Müller" <ulm@gentoo.org>
Subject: [gentoo-pms] [PATCH 5/5] EAPI 9: econf matches configure --help output better
Date: Mon, 21 Feb 2022 20:00:50 +0100 [thread overview]
Message-ID: <20220221190050.11524-5-ulm@gentoo.org> (raw)
In-Reply-To: <20220221190050.11524-1-ulm@gentoo.org>
Bug: https://bugs.gentoo.org/815169
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
eapi-differences.tex | 4 ++++
pkg-mgr-commands.tex | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
diff --git a/eapi-differences.tex b/eapi-differences.tex
index 19f5134..abf775c 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -282,6 +282,9 @@ Output commands use stdout & \compactfeatureref{output-no-stdout} &
disable dependency tracking, disable silent rules, disable static,
datarootdir, docdir, htmldir, with sysroot \\
+\t{econf} better matching of options & \compactfeatureref{econf-options} &
+ No & No & No & No & Yes \\
+
\t{dodoc -r} & \compactfeatureref{dodoc} &
* & Yes & Yes & Yes & Yes \\
@@ -559,6 +562,7 @@ EAPI 9 is EAPI 8 with the following changes:
\begin{compactitem}
\item Comments in profiles \t{parent} file, \featureref{parent-comments}.
\item Different default EAPI for profiles, \featureref{profile-eapi-default}.
+\item \t{econf} matches \t{configure -{}-help} output better, \featureref{econf-options}.
\end{compactitem}
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index dae13d4..fb8b1b8 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -345,6 +345,10 @@ commands once the current phase function has returned.
\t{-{}-enable-static} occurs in the output of \t{configure -{}-help}.
\end{itemize}
+ For EAPIs listed in table~\ref{tab:econf-match-end} as matching the end of the option string,
+ a string in \t{configure -{}-help} output will only match if is is not immediately followed by
+ any of the characters \t{[A-Za-z0-9+_.-]}.
+
\ChangeWhenAddingAnEAPI{9} % two places
\begin{centertable}{Extra \t{econf} arguments for EAPIs}
\label{tab:econf-options-table}
@@ -374,6 +378,20 @@ commands once the current phase function has returned.
\end{tabular}
\end{centertable}
+ \ChangeWhenAddingAnEAPI{9}
+ \begin{centertable}{EAPIs matching end of option string in \t{configure -{}-help} output}
+ \label{tab:econf-match-end}
+ \begin{tabular}{ll}
+ \toprule
+ \multicolumn{1}{c}{\textbf{EAPI}} &
+ \multicolumn{1}{c}{\textbf{Matches end of option string?}} \\
+ \midrule
+ 0, 1, 2, 3, 4, 5, 6, 7, 8 & No \\
+ 9 & Yes \\
+ \bottomrule
+ \end{tabular}
+ \end{centertable}
+
Note that the \t{\$\{EPREFIX\}} component represents the same offset-prefix as described in
table~\ref{tab:defined-vars}. It facilitates offset-prefix installations which is supported by
EAPIs listed in table~\ref{tab:offset-env-vars-table}. When no offset-prefix installation is in
--
2.35.1
prev parent reply other threads:[~2022-02-21 19:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-21 19:00 [gentoo-pms] [PATCH 1/5] Add an EAPI 9 identical to EAPI 8 Ulrich Müller
2022-02-21 19:00 ` [gentoo-pms] [PATCH 2/5] EAPI feature table: Consolidate EAPIs 0 to 5 Ulrich Müller
2022-02-21 19:00 ` [gentoo-pms] [PATCH 3/5] EAPI 9 profile parent files can contain comments Ulrich Müller
2022-02-21 19:00 ` [gentoo-pms] [PATCH 4/5] EAPI 9 profile EAPI defaults to top-level Ulrich Müller
2022-02-21 19:00 ` Ulrich Müller [this message]
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=20220221190050.11524-5-ulm@gentoo.org \
--to=ulm@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