summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2005-07-25 14:50:47 +0000
committerCaleb Tennis <caleb@gentoo.org>2005-07-25 14:50:47 +0000
commitf0cede928674d66775af778665e923b9a57395f4 (patch)
treea6287a0b07cedb5d9b15a35b574832ca7788bd91 /eclass/qt3.eclass
parentAdd altivec to STAGE1_USE for 970 32bit userland. (diff)
downloadhistorical-f0cede928674d66775af778665e923b9a57395f4.tar.gz
historical-f0cede928674d66775af778665e923b9a57395f4.tar.bz2
historical-f0cede928674d66775af778665e923b9a57395f4.zip
This check makes the output string a little less verbose
Diffstat (limited to 'eclass/qt3.eclass')
-rw-r--r--eclass/qt3.eclass11
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/qt3.eclass b/eclass/qt3.eclass
index c3e7239848a7..e54e940758de 100644
--- a/eclass/qt3.eclass
+++ b/eclass/qt3.eclass
@@ -1,6 +1,6 @@
# Copyright 2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.5 2005/07/13 13:50:41 greg_g Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/qt3.eclass,v 1.6 2005/07/25 14:50:47 caleb Exp $
#
# Author Caleb Tennis <caleb@gentoo.org>
#
@@ -16,8 +16,8 @@
inherit versionator
-
QTPKG="x11-libs/qt-"
+QT3MAJORVERSIONS="3.3 3.2 3.1 3.0"
QT3VERSIONS="3.3.4-r6 3.3.4-r5 3.3.4-r4 3.3.4-r3 3.3.4-r2 3.3.4-r1 3.3.4 3.3.3-r3 3.3.3-r2 3.3.3-r1 3.3.3 3.3.2 3.3.1-r2 3.3.1-r1 3.3.1 3.3.0-r1 3.3.0 3.2.3-r1 3.2.3 3.2.2-r1 3.2.2 3.2.1-r2 3.2.1-r1 3.2.1 3.2.0 3.1.2-r4 3.1.2-r3 3.1.2-r2 3.1.2-r1 3.1.2 3.1.1-r2 3.1.1-r1 3.1.1 3.1.0-r3 3.1.0-r2 3.1.0-r1 3.1.0"
if [[ -z $QTDIR ]]; then
@@ -39,6 +39,13 @@ qt_min_version_list() {
case $MINVER in
3|3.0|3.0.0) VERSIONS="=${QTPKG}3*";;
+ 3.1|3.1.0|3.2|3.2.0|3.3|3.3.0)
+ for x in $QT3MAJORVERSIONS; do
+ if $(version_is_at_least $MINVER $x); then
+ VERSIONS="${VERSIONS} =${QTPKG}${x}*"
+ fi
+ done
+ ;;
4|4.0|4.0.0) VERSIONS="=${QTPKG}4*";;
3*)
for x in $QT3VERSIONS; do