diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-19 20:54:26 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-04-19 20:54:26 +0000 |
commit | 741996893a460b2e5f4c678313af968bcd850584 (patch) | |
tree | 5143bbae5b7a09ca3c4988e2b667956b6b3a217a /eclass | |
parent | Added IUSE and check_license. (diff) | |
download | historical-741996893a460b2e5f4c678313af968bcd850584.tar.gz historical-741996893a460b2e5f4c678313af968bcd850584.tar.bz2 historical-741996893a460b2e5f4c678313af968bcd850584.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.eclass | 15 |
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 |