Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-pms] [PATCH] Appendix: Document retroactive change of econf --disable-static
Date: Sat, 19 Nov 2022 21:37:00
Message-Id: 20221119213650.25407-1-ulm@gentoo.org
1 Signed-off-by: Ulrich Müller <ulm@g.o>
2 ---
3 appendices.tex | 8 ++++++++
4 pkg-mgr-commands.tex | 1 +
5 2 files changed, 9 insertions(+)
6
7 diff --git a/appendices.tex b/appendices.tex
8 index 3d2ef52..69bd2ed 100644
9 --- a/appendices.tex
10 +++ b/appendices.tex
11 @@ -114,6 +114,14 @@ all-of, any-of, exactly-one-of, at-most-one-of and use-conditional groups with z
12 However, such empty groups were neither supported by all package managers nor used in ebuilds.
13 They were dropped from the specification in October 2017.
14
15 +\subsection{econf -{}-disable-static option}
16 +The \t{-{}-disable-static} option in \t{econf} (see section~\ref{sec:build-commands}) was intended
17 +to disable only static Libtool archive building. The original check for either
18 +\t{-{}-disable-static} or \t{-{}-enable-static} occuring in \t{configure -{}-help} output produced
19 +false positives. The specification was therefore updated in November 2022; it now requires both
20 +\t{-{}-enable-static} and \t{-{}-enable-shared}, and in addition checks for a proper end of the
21 +option string.
22 +
23 % vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :
24
25 %%% Local Variables:
26 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
27 index a3e8a41..95caa0b 100644
28 --- a/pkg-mgr-commands.tex
29 +++ b/pkg-mgr-commands.tex
30 @@ -296,6 +296,7 @@ Ebuilds must not run any of these commands once the current phase function has r
31 \end{centertable}
32
33 \subsection{Build commands}
34 +\label{sec:build-commands}
35 These commands are used during the \t{src_configure}, \t{src_compile}, \t{src_test},
36 and \t{src_install} phases to run the package's build commands. Ebuilds must not run any of these
37 commands once the current phase function has returned.
38 --
39 2.38.1