gnome2.eclass: simplify inheritting on autotools.eclass and not inherit it unconditio...
authorPacho Ramos <pacho@gentoo.org>
Mon, 16 Jan 2017 22:57:51 +0000 (23:57 +0100)
committerPacho Ramos <pacho@gentoo.org>
Mon, 16 Jan 2017 22:58:13 +0000 (23:58 +0100)
eclass/gnome2.eclass

index d64b31b73c6bfb4db97f61b7c0ce97578ce9d9ca..bb538dd19182a5563a82ed0794473d169a5054a2 100644 (file)
 # 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)