commit: 66cde7434f11707661aa91cfb95a32b06c860001
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 21 16:11:52 2015 +0000
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sat Feb 21 16:11:52 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=66cde743
[eclass] Fix dep calculation for live ebuilds.
---
eclass/kde4-functions.eclass | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
index 2c66a3e..ba681f7 100644
--- a/eclass/kde4-functions.eclass
+++ b/eclass/kde4-functions.eclass
@@ -327,10 +327,12 @@ add_kdebase_dep() {
ver=${KDE_OVERRIDE_MINIMAL}
elif [[ ${KDEBASE} != kde-base ]]; then
ver=${KDE_MINIMAL}
+ elif [[ ${PV} == *.9999 ]]; then
+ ver=$(get_kde_version)
# if building live version depend on the final release since there will
# not be any more major development. this solves dep errors as not all
# packages have kde-base live versions now
- elif [[ ${PV} == *9999 || ${CATEGORY} == kde-apps ]]; then
+ elif [[ ${CATEGORY} == kde-apps ]]; then
ver=4.14.3
else
ver=${PV}