summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-17 19:17:31 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-10-17 19:17:31 +0000
commitbd1416a13331ebd8f40d20df02f2582a1abc02ca (patch)
tree079cdced929c0e099da99592a39ba0ea741709f2 /eclass/autotools.eclass
parentUse autotools eclass; merge patches (diff)
downloadhistorical-bd1416a13331ebd8f40d20df02f2582a1abc02ca.tar.gz
historical-bd1416a13331ebd8f40d20df02f2582a1abc02ca.tar.bz2
historical-bd1416a13331ebd8f40d20df02f2582a1abc02ca.zip
Check for subversions, not for revisions, when deciding which automake to use.
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 6852a928983b..70746482adc8 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.50 2006/10/17 18:59:36 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.51 2006/10/17 19:17:31 flameeyes Exp $
#
# Author: Diego Pettenò <flameeyes@gentoo.org>
# Enhancements: Martin Schlemmer <azarah@gentoo.org>
@@ -202,8 +202,8 @@ autotools_set_versions() {
if [[ -n ${WANT_AUTOMAKE} ]]; then
if [[ ${WANT_AUTOMAKE} == "latest" ]]; then
# Consider starting from 1.9, as that is stable everywhere.
- has_version '~sys-devel/automake-1.9' && WANT_AUTOMAKE="1.9"
- has_version '~sys-devel/automake-1.10' && WANT_AUTOMAKE="1.10"
+ has_version '=sys-devel/automake-1.9*' && WANT_AUTOMAKE="1.9"
+ has_version '=sys-devel/automake-1.10*' && WANT_AUTOMAKE="1.10"
fi
export WANT_AUTOMAKE
einfo "Requested automake ${WANT_AUTOMAKE}"