From e039c3103286c10bb3afd4bbf0b3d147d321014a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= Date: Fri, 24 Sep 2021 14:12:38 +0200 Subject: [PATCH] pkg-mgr-commands.tex: Update condition for econf --disable-static MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 precedes the PMS wording) does not follow the spec, but looks for --enable-static in addition. Bug: https://bugs.gentoo.org/814368 Signed-off-by: Ulrich Müller --- pkg-mgr-commands.tex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index ebb4b7e..4461b99 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -341,8 +341,9 @@ 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}; the string must not + be immediately followed by any of the characters \t{[A-Za-z0-9_-]}. \end{itemize} \ChangeWhenAddingAnEAPI{8} -- 2.33.0