From 537366553576fe0d8ecad2fe72e62dc0420332ba Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 16 Jan 2017 23:57:51 +0100 Subject: 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(-) (limited to 'eclass/gnome2.eclass') diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index d64b31b73c6b..bb538dd19182 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) -- cgit v1.2.3-65-gdbad