summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-27 21:27:43 +0000
committerSam James <sam@gentoo.org>2021-03-31 06:28:54 +0100
commit53c3321385d41fb49db03168b0c2482b129ef8e8 (patch)
tree6e16cf417a14ef2303b3a4d3ed1e2bbe67804975 /eclass
parentautotools.eclass: mark AT_M4DIR as @DEFAULT_UNSET (diff)
downloadgentoo-53c3321385d41fb49db03168b0c2482b129ef8e8.tar.gz
gentoo-53c3321385d41fb49db03168b0c2482b129ef8e8.tar.bz2
gentoo-53c3321385d41fb49db03168b0c2482b129ef8e8.zip
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@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index e51e02f4b439..d89ba13c8a85 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