diff options
author | Sam James <sam@gentoo.org> | 2024-05-03 04:22:15 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-05-03 12:40:09 +0100 |
commit | 691f40a3f2455e23e27c630b7658dd07428ac44a (patch) | |
tree | 2065a9863a81ec1675bfe5d6ad7ef0f2d40090a4 /eclass/autotools.eclass | |
parent | gnuconfig.eclass: add GNUCONFIG_DEPEND (diff) | |
download | gentoo-691f40a3f2455e23e27c630b7658dd07428ac44a.tar.gz gentoo-691f40a3f2455e23e27c630b7658dd07428ac44a.tar.bz2 gentoo-691f40a3f2455e23e27c630b7658dd07428ac44a.zip |
autotools.eclass: conditionalize gnuconfig dependency
Use newly-added GNUCONFIG_DEPEND so that AUTOTOOLS_AUTO_DEPEND=no doesn't
result in a useless dependency on gnuconfig.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r-- | eclass/autotools.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 1ced771c5345..a456e9b9f589 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -33,6 +33,7 @@ _AUTOTOOLS_ECLASS=1 [[ ${EAPI} == 6 ]] && inherit eqawarn +GNUCONFIG_AUTO_DEPEND=no inherit gnuconfig libtool # @ECLASS_VARIABLE: WANT_AUTOCONF @@ -164,9 +165,12 @@ fi # @DESCRIPTION: # Contains the combination of requested automake/autoconf/libtool # versions in *DEPEND format. -AUTOTOOLS_DEPEND="${_automake_atom} +AUTOTOOLS_DEPEND=" + ${GNUCONFIG_DEPEND} + ${_automake_atom} ${_autoconf_atom} - ${_libtool_atom}" + ${_libtool_atom} +" RDEPEND="" # @ECLASS_VARIABLE: AUTOTOOLS_AUTO_DEPEND |