diff options
author | Carsten Lohrke <carlo@gentoo.org> | 2006-01-04 20:58:02 +0000 |
---|---|---|
committer | Carsten Lohrke <carlo@gentoo.org> | 2006-01-04 20:58:02 +0000 |
commit | be358ea8be5f2fe15f335f38ea57a5abd811d1a6 (patch) | |
tree | adb69330fcd11d1fac6dc800161dfdaebd202b46 /eclass/kde-functions.eclass | |
parent | Store correct RDEPENDs with need-kde(). (diff) | |
download | historical-be358ea8be5f2fe15f335f38ea57a5abd811d1a6.tar.gz historical-be358ea8be5f2fe15f335f38ea57a5abd811d1a6.tar.bz2 historical-be358ea8be5f2fe15f335f38ea57a5abd811d1a6.zip |
Store correct RDEPENDs with need-qt().
Diffstat (limited to 'eclass/kde-functions.eclass')
-rw-r--r-- | eclass/kde-functions.eclass | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/eclass/kde-functions.eclass b/eclass/kde-functions.eclass index cb455baa1f3b..bb907ec4e737 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.129 2006/01/04 20:54:43 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde-functions.eclass,v 1.130 2006/01/04 20:58:02 carlo Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -815,14 +815,20 @@ need-qt() { QT=qt + if [ "${RDEPEND-unset}" != "unset" ] ; then + x_DEPEND="${RDEPEND}" + else + x_DEPEND="${DEPEND}" + fi + case ${QTVER} in 2*) DEPEND="${DEPEND} =x11-libs/${QT}-2.3*" - [ "${RDEPEND-unset}" != "unset" ] && RDEPEND="${RDEPEND} =x11-libs/${QT}-2.3*" + RDEPEND="${x_DEPEND} =x11-libs/${QT}-2.3*" ;; 3*) DEPEND="${DEPEND} $(qt_min_version ${QTVER})" - [ "${RDEPEND-unset}" != "unset" ] && RDEPEND="${RDEPEND} $(qt_min_version ${QTVER})" + RDEPEND="${x_DEPEND} $(qt_min_version ${QTVER})" ;; *) echo "!!! error: $FUNCNAME() called with invalid parameter: \"$QTVER\", please report bug" && exit 1;; esac |