summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-12-07 11:39:32 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-12-07 11:39:32 +0000
commit3239a8bc4efa2c6acaf5981671d52ec922ec61ad (patch)
treef76875387bdb46156283854877f6a69309e45a4d /eclass
parentAdd s390 love #202529. (diff)
downloadhistorical-3239a8bc4efa2c6acaf5981671d52ec922ec61ad.tar.gz
historical-3239a8bc4efa2c6acaf5981671d52ec922ec61ad.tar.bz2
historical-3239a8bc4efa2c6acaf5981671d52ec922ec61ad.zip
Added kdebase-data to the eclass deps.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass13
1 files changed, 12 insertions, 1 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index b1c16000568c..c5958586202e 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 2007-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.18 2008/11/22 01:23:31 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.19 2008/12/07 11:39:32 jmbsvicetto Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -291,6 +291,7 @@ if [[ ${NEED_KDE} != none ]]; then
;;
esac
+ # Adding kdelibs, kdepimlibs and kdebase-data deps to all other packages.
# We only need to add the dependencies if ${PN} is not "kdelibs" or "kdepimlibs"
if [[ ${PN} != "kdelibs" ]]; then
case "${EAPI}" in
@@ -312,7 +313,17 @@ if [[ ${NEED_KDE} != none ]]; then
*)
DEPEND="${DEPEND} ${_operator}kde-base/kdepimlibs${_pv}"
RDEPEND="${RDEPEND} ${_operator}kde-base/kdepimlibs${_pv}"
+ esac
+ if [[ ${PN} != "kdebase-data" ]]; then
+ case "${EAPI}" in
+ 2)
+ RDEPEND="${RDEPEND} ${_operator}kde-base/kdebase-data${_pv}[kdeprefix=]"
+ ;;
+ *)
+ RDEPEND="${RDEPEND} ${_operator}kde-base/kdebase-data${_pv}"
+ ;;
esac
+ fi
fi
fi