summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2008-07-27 19:04:29 +0000
committerCarsten Lohrke <carlo@gentoo.org>2008-07-27 19:04:29 +0000
commita296d424b82dee25201dad865b099d05289f80c9 (patch)
treeaefeb9aea36d36af4fa4432579deea7ba2552575 /eclass
parentStable on amd64, bug #229709 (diff)
downloadgentoo-2-a296d424b82dee25201dad865b099d05289f80c9.tar.gz
gentoo-2-a296d424b82dee25201dad865b099d05289f80c9.tar.bz2
gentoo-2-a296d424b82dee25201dad865b099d05289f80c9.zip
Get rid of deprecated qt_min_version().
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-functions.eclass14
1 files changed, 3 insertions, 11 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 7b0037f88983..7d4d37d94111 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.168 2008/05/17 15:19:56 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.169 2008/07/27 19:04:29 carlo Exp $
# @ECLASS: kde-functions.eclass
# @MAINTAINER:
@@ -773,16 +773,8 @@ need-qt() {
fi
case ${QTVER} in
- 3*)
- case ${EAPI:-0} in
- # Add EAPIs without SLOT dependencies.
- 0) DEPEND="${DEPEND} $(qt_min_version ${QTVER})"
- RDEPEND="${x_DEPEND} $(qt_min_version ${QTVER})"
- ;;
- *) DEPEND="${DEPEND} >=x11-libs/qt-${QTVER}:3"
- RDEPEND="${RDEPEND} >=x11-libs/qt-${QTVER}:3"
- ;;
- esac
+ 3*) DEPEND="${DEPEND} =x11-libs/qt-3*"
+ RDEPEND="${RDEPEND} =x11-libs/qt-3*"
;;
*) echo "!!! error: $FUNCNAME() called with invalid parameter: \"$QTVER\", please report bug" && exit 1;;
esac