commit:     53c3321385d41fb49db03168b0c2482b129ef8e8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 21:27:43 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 31 05:28:54 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c33213

autotools.eclass: mark WANT_AUTO*, AUTOTOOLS_AUTO_DEPEND as @PRE_INHERIT

These must be defined before the point of inherit because
*DEPEND in the eclass (depending on these) in global scope.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/autotools.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index e51e02f4b43..d89ba13c8a8 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -34,16 +34,19 @@ esac
 inherit libtool
 
 # @ECLASS-VARIABLE: WANT_AUTOCONF
+# @PRE_INHERIT
 # @DESCRIPTION:
 # The major version of autoconf your package needs
 : ${WANT_AUTOCONF:=latest}
 
 # @ECLASS-VARIABLE: WANT_AUTOMAKE
+# @PRE_INHERIT
 # @DESCRIPTION:
 # The major version of automake your package needs
 : ${WANT_AUTOMAKE:=latest}
 
 # @ECLASS-VARIABLE: WANT_LIBTOOL
+# @PRE_INHERIT
 # @DESCRIPTION:
 # Do you want libtool?  Valid values here are "latest" and "none".
 : ${WANT_LIBTOOL:=latest}
@@ -117,6 +120,7 @@ AUTOTOOLS_DEPEND="${_automake_atom}
 RDEPEND=""
 
 # @ECLASS-VARIABLE: AUTOTOOLS_AUTO_DEPEND
+# @PRE_INHERIT
 # @DESCRIPTION:
 # Set to 'no' to disable automatically adding to DEPEND.  This lets
 # ebuilds form conditional depends by using ${AUTOTOOLS_DEPEND} in

Reply via email to