summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-04-19 20:54:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-04-19 20:54:26 +0000
commit1ff790b963b192a8ae63c420a3d8a51246c288d4 (patch)
tree30b33d46ac3a48bfe051ed4993a46e09b57d11be /eclass
parentAdded IUSE and check_license. (Manifest recommit) (diff)
downloadgentoo-2-1ff790b963b192a8ae63c420a3d8a51246c288d4.tar.gz
gentoo-2-1ff790b963b192a8ae63c420a3d8a51246c288d4.tar.bz2
gentoo-2-1ff790b963b192a8ae63c420a3d8a51246c288d4.zip
Need to have kde-base/kdelibs and x11-libs/qt in both RDEPEND and DEPEND.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde-functions.eclass15
1 files changed, 11 insertions, 4 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass
index 31ea143f4501..b22cfa6513f6 100644
--- a/eclass/kde-functions.eclass
+++ b/eclass/kde-functions.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.68 2004/04/19 14:54:36 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.69 2004/04/19 20:54:26 mr_bones_ Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -94,12 +94,13 @@ need-kde() {
# maybe i should look at relocating it...
RDEPEND="${RDEPEND} ~kde-base/kdelibs-${KDEVER}"
+ DEPEND="${DEPEND} ~kde-base/kdelibs-${KDEVER}"
else
# everything else only needs a minimum version
min-kde-ver $KDEVER
RDEPEND="${RDEPEND} >=kde-base/kdelibs-${selected_version}"
-
+ DEPEND="${DEPEND} >=kde-base/kdelibs-${selected_version}"
fi
qtver-from-kdever $KDEVER
@@ -211,8 +212,14 @@ need-qt() {
QT=qt
case $QTVER in
- 2*) RDEPEND="${RDEPEND} =x11-libs/${QT}-2.3*" ;;
- 3*) RDEPEND="${RDEPEND} >=x11-libs/${QT}-${QTVER}" ;;
+ 2*)
+ RDEPEND="${RDEPEND} =x11-libs/${QT}-2.3*"
+ DEPEND="${DEPEND} =x11-libs/${QT}-2.3*"
+ ;;
+ 3*)
+ RDEPEND="${RDEPEND} >=x11-libs/${QT}-${QTVER}"
+ DEPEND="${DEPEND} >=x11-libs/${QT}-${QTVER}"
+ ;;
*) echo "!!! error: $FUNCNAME() called with invalid parameter: \"$QTVER\", please report bug" && exit 1;;
esac