diff options
author | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2008-12-07 11:39:32 +0000 |
---|---|---|
committer | Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org> | 2008-12-07 11:39:32 +0000 |
commit | 4204344e7b05ee8995107db83e26aab40d729488 (patch) | |
tree | 99410a567927e2f1cc2a96acfc0f12aaa5ce6f39 /eclass/kde4-base.eclass | |
parent | Add s390 love #202529. (diff) | |
download | gentoo-2-4204344e7b05ee8995107db83e26aab40d729488.tar.gz gentoo-2-4204344e7b05ee8995107db83e26aab40d729488.tar.bz2 gentoo-2-4204344e7b05ee8995107db83e26aab40d729488.zip |
Added kdebase-data to the eclass deps.
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r-- | eclass/kde4-base.eclass | 13 |
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 |