summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2017-01-16 23:57:51 +0100
committerPacho Ramos <pacho@gentoo.org>2017-01-16 23:58:13 +0100
commit537366553576fe0d8ecad2fe72e62dc0420332ba (patch)
tree1103928cf817173dc9259072b9c0601410fac492 /eclass/gnome2.eclass
parentx11-libs/gtk+: Remove unnecessary gdk-pixbuf[X] USE depend (diff)
downloadgentoo-537366553576fe0d8ecad2fe72e62dc0420332ba.tar.gz
gentoo-537366553576fe0d8ecad2fe72e62dc0420332ba.tar.bz2
gentoo-537366553576fe0d8ecad2fe72e62dc0420332ba.zip
gnome2.eclass: simplify inheritting on autotools.eclass and not inherit it unconditionally (#591584, thanks to leio for the help)
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass9
1 files changed, 2 insertions, 7 deletions
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)