summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-09-24 14:12:38 +0200
committerUlrich Müller <ulm@gentoo.org>2021-09-24 15:06:45 +0200
commit8ce3a9c94407c8bfcf27c8455fac32d3a38fc981 (patch)
tree5b78d0a3db79a5efa62c6327d0c6e84af4a5f8c5
parenteapi-cheatsheet.tex: Delete trailing whitespace (diff)
downloadpms-8ce3a9c9.tar.gz
pms-8ce3a9c9.tar.bz2
pms-8ce3a9c9.zip
pkg-mgr-commands.tex: Update condition for econf --disable-static
The help message produced by LT_INIT in libtool-2.4.6 always says --enable-static regardless of the default value, see m4/ltoptions.m4: AC_ARG_ENABLE([static], [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])], ...) This means that looking only for --disable-static in output of configure --help results in non-functional behaviour. Implementation in Portage (which predates the PMS wording) looks for --enable-static in addition. Bug: https://bugs.gentoo.org/814368 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--pkg-mgr-commands.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index ebb4b7e..45706af 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -341,8 +341,8 @@ commands once the current phase function has returned.
as using it. This option will only be passed if the string \t{-{}-disable-silent-rules}
occurs in the output of \t{configure -{}-help}.
\item \t{-{}-disable-static}, 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{-{}-disable-static} occurs
- in the output of \t{configure -{}-help}.
+ as using it. This option will only be passed if the string \t{-{}-disable-static} or
+ \t{-{}-enable-static} occurs in the output of \t{configure -{}-help}.
\end{itemize}
\ChangeWhenAddingAnEAPI{8}