summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-06 12:14:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-06-06 12:14:06 +0000
commitffd9d950cb51c8dcdb4382239dcd0297cb7a2cc0 (patch)
treec36a7d4dcaa77b55589c5278d12eb93d9db35ab7 /eclass
parent%uL should be %Lu in patch (diff)
downloadgentoo-2-ffd9d950cb51c8dcdb4382239dcd0297cb7a2cc0.tar.gz
gentoo-2-ffd9d950cb51c8dcdb4382239dcd0297cb7a2cc0.tar.bz2
gentoo-2-ffd9d950cb51c8dcdb4382239dcd0297cb7a2cc0.zip
Fix deprange-list to generate dependencies starting from a revision. Thanks to Kugelfang for making me open my eyes on the generated deps.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-functions.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 2af2ab422d82..2e2972bb0936 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.136 2006/05/19 22:39:34 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.137 2006/06/06 12:14:06 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -499,12 +499,14 @@ deprange-list() {
NEWDEP="$(deprange-iterate-suffixes "~$PACKAGE-$BASEVER.$MAXMINOR" alpha1 $MAXSUFFIX)"
fi
+ STARTMINOR="${MINMINOR}"
+
# regular versions in between
if [ -n "$MINREV" -a -z "$MINSUFFIX" ]; then
- let MAXMINOR++
+ let STARTMINOR++
fi
NEWDEP="$NEWDEP
- $(deprange-iterate-numbers "~${PACKAGE}-${BASEVER}." $MINMINOR $MAXMINOR)"
+ $(deprange-iterate-numbers "~${PACKAGE}-${BASEVER}." $STARTMINOR $MAXMINOR)"
# Min version's allowed suffixes
if [ -n "$MINSUFFIX" ]; then