Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:master commit in: /
Date: Mon, 27 Sep 2021 17:00:13
Message-Id: 1632488805.8ce3a9c94407c8bfcf27c8455fac32d3a38fc981.ulm@gentoo
1 commit: 8ce3a9c94407c8bfcf27c8455fac32d3a38fc981
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 24 12:12:38 2021 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 24 13:06:45 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8ce3a9c9
7
8 pkg-mgr-commands.tex: Update condition for econf --disable-static
9
10 The help message produced by LT_INIT in libtool-2.4.6 always says
11 --enable-static regardless of the default value, see m4/ltoptions.m4:
12
13 AC_ARG_ENABLE([static],
14 [AS_HELP_STRING([--enable-static@<:@=PKGS@:>@],
15 [build static libraries @<:@default=]_LT_ENABLE_STATIC_DEFAULT[@:>@])],
16 ...)
17
18 This means that looking only for --disable-static in output of
19 configure --help results in non-functional behaviour.
20
21 Implementation in Portage (which predates the PMS wording) looks for
22 --enable-static in addition.
23
24 Bug: https://bugs.gentoo.org/814368
25 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
26
27 pkg-mgr-commands.tex | 4 ++--
28 1 file changed, 2 insertions(+), 2 deletions(-)
29
30 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
31 index ebb4b7e..45706af 100644
32 --- a/pkg-mgr-commands.tex
33 +++ b/pkg-mgr-commands.tex
34 @@ -341,8 +341,8 @@ commands once the current phase function has returned.
35 as using it. This option will only be passed if the string \t{-{}-disable-silent-rules}
36 occurs in the output of \t{configure -{}-help}.
37 \item \t{-{}-disable-static}, if the EAPI is listed in table~\ref{tab:econf-options-table}
38 - as using it. This option will only be passed if the string \t{-{}-disable-static} occurs
39 - in the output of \t{configure -{}-help}.
40 + as using it. This option will only be passed if the string \t{-{}-disable-static} or
41 + \t{-{}-enable-static} occurs in the output of \t{configure -{}-help}.
42 \end{itemize}
43
44 \ChangeWhenAddingAnEAPI{8}