diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-09-16 21:23:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-09-16 21:23:32 +0000 |
commit | f5af7e300a29ba242a919e6f045db66ad6b95a8b (patch) | |
tree | ff2ceccc4bab434fb710adc031e2b17f2e5b3d77 /eclass | |
parent | ppc stable (diff) | |
download | gentoo-2-f5af7e300a29ba242a919e6f045db66ad6b95a8b.tar.gz gentoo-2-f5af7e300a29ba242a919e6f045db66ad6b95a8b.tar.bz2 gentoo-2-f5af7e300a29ba242a919e6f045db66ad6b95a8b.zip |
respect WANT_AUTOMAKE/WANT_AUTOCONF in generating DEPEND
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/autotools.eclass | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass index 5994e1effb9f..0aafc59e9a01 100644 --- a/eclass/autotools.eclass +++ b/eclass/autotools.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.39 2006/07/03 18:42:54 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.40 2006/09/16 21:23:32 vapier Exp $ # # Author: Diego Pettenò <flameeyes@gentoo.org> # Enhancements: Martin Schlemmer <azarah@gentoo.org> @@ -12,9 +12,14 @@ inherit eutils libtool -DEPEND="sys-devel/automake - sys-devel/autoconf +_automake_atom="sys-devel/automake" +_autoconf_atom="sys-devel/autoconf" +[[ -n ${WANT_AUTOMAKE} ]] && _automake_atom="=sys-devel/automake-${WANT_AUTOMAKE}*" +[[ -n ${WANT_AUTOCONF} ]] && _autoconf_atom="=sys-devel/autoconf-${WANT_AUTOCONF}*" +DEPEND="${_automake_atom} + ${_autoconf_atom} sys-devel/libtool" +unset _automake_atom _autoconf_atom # Variables: # @@ -230,4 +235,4 @@ autotools_get_auxdir() { }' | uniq return 0 -}
\ No newline at end of file +} |