Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Wed, 31 Mar 2021 05:31:53
Message-Id: 1617168534.53c3321385d41fb49db03168b0c2482b129ef8e8.sam@gentoo
1 commit: 53c3321385d41fb49db03168b0c2482b129ef8e8
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 27 21:27:43 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 31 05:28:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c33213
7
8 autotools.eclass: mark WANT_AUTO*, AUTOTOOLS_AUTO_DEPEND as @PRE_INHERIT
9
10 These must be defined before the point of inherit because
11 *DEPEND in the eclass (depending on these) in global scope.
12
13 Signed-off-by: Sam James <sam <AT> gentoo.org>
14
15 eclass/autotools.eclass | 4 ++++
16 1 file changed, 4 insertions(+)
17
18 diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
19 index e51e02f4b43..d89ba13c8a8 100644
20 --- a/eclass/autotools.eclass
21 +++ b/eclass/autotools.eclass
22 @@ -34,16 +34,19 @@ esac
23 inherit libtool
24
25 # @ECLASS-VARIABLE: WANT_AUTOCONF
26 +# @PRE_INHERIT
27 # @DESCRIPTION:
28 # The major version of autoconf your package needs
29 : ${WANT_AUTOCONF:=latest}
30
31 # @ECLASS-VARIABLE: WANT_AUTOMAKE
32 +# @PRE_INHERIT
33 # @DESCRIPTION:
34 # The major version of automake your package needs
35 : ${WANT_AUTOMAKE:=latest}
36
37 # @ECLASS-VARIABLE: WANT_LIBTOOL
38 +# @PRE_INHERIT
39 # @DESCRIPTION:
40 # Do you want libtool? Valid values here are "latest" and "none".
41 : ${WANT_LIBTOOL:=latest}
42 @@ -117,6 +120,7 @@ AUTOTOOLS_DEPEND="${_automake_atom}
43 RDEPEND=""
44
45 # @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND
46 +# @PRE_INHERIT
47 # @DESCRIPTION:
48 # Set to 'no' to disable automatically adding to DEPEND. This lets
49 # ebuilds form conditional depends by using ${AUTOTOOLS_DEPEND} in