commit: 537366553576fe0d8ecad2fe72e62dc0420332ba Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Mon Jan 16 22:57:51 2017 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Mon Jan 16 22:58:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53736655
gnome2.eclass: simplify inheritting on autotools.eclass and not inherit it unconditionally (#591584, thanks to leio for the help) eclass/gnome2.eclass | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index d64b31b..bb538dd 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -16,13 +16,8 @@ # Run eautoreconf instead of only elibtoolize GNOME2_EAUTORECONF=${GNOME2_EAUTORECONF:-""} -if [[ ${GNOME2_EAUTORECONF} == 'yes' ]] ; then - AUTOTOOLS_AUTO_DEPEND=yes -else - : ${AUTOTOOLS_AUTO_DEPEND:=no} -fi - -inherit autotools eutils libtool gnome.org gnome2-utils xdg +[[ ${GNOME2_EAUTORECONF} == 'yes' ]] && inherit autotools +inherit eutils libtool gnome.org gnome2-utils xdg case "${EAPI:-0}" in 4|5)