summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-11-19 22:35:46 +0100
committerUlrich Müller <ulm@gentoo.org>2022-11-19 22:35:46 +0100
commit603b5c5a6b9e94a8a9fc02982dca14fe46048594 (patch)
tree354f82116323c1dca093696527d6d577a6e87b80
parentpkg-mgr-commands.tex: Update condition for econf --disable-static (again) (diff)
downloadpms-603b5c5a6b9e94a8a9fc02982dca14fe46048594.tar.gz
pms-603b5c5a6b9e94a8a9fc02982dca14fe46048594.tar.bz2
pms-603b5c5a6b9e94a8a9fc02982dca14fe46048594.zip
Appendix: Document retroactive change of econf --disable-static
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--appendices.tex8
-rw-r--r--pkg-mgr-commands.tex1
2 files changed, 9 insertions, 0 deletions
diff --git a/appendices.tex b/appendices.tex
index 3d2ef52..69bd2ed 100644
--- a/appendices.tex
+++ b/appendices.tex
@@ -114,6 +114,14 @@ all-of, any-of, exactly-one-of, at-most-one-of and use-conditional groups with z
However, such empty groups were neither supported by all package managers nor used in ebuilds.
They were dropped from the specification in October 2017.
+\subsection{econf -{}-disable-static option}
+The \t{-{}-disable-static} option in \t{econf} (see section~\ref{sec:build-commands}) was intended
+to disable only static Libtool archive building. The original check for either
+\t{-{}-disable-static} or \t{-{}-enable-static} occuring in \t{configure -{}-help} output produced
+false positives. The specification was therefore updated in November 2022; it now requires both
+\t{-{}-enable-static} and \t{-{}-enable-shared}, and in addition checks for a proper end of the
+option string.
+
% vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :
%%% Local Variables:
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index a3e8a41..95caa0b 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -296,6 +296,7 @@ Ebuilds must not run any of these commands once the current phase function has r
\end{centertable}
\subsection{Build commands}
+\label{sec:build-commands}
These commands are used during the \t{src_configure}, \t{src_compile}, \t{src_test},
and \t{src_install} phases to run the package's build commands. Ebuilds must not run any of these
commands once the current phase function has returned.