summaryrefslogtreecommitdiff
path: root/eclass/kde4-base.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/kde4-base.eclass')
-rw-r--r--eclass/kde4-base.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 235110fe644..c51c6022e21 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -232,8 +232,11 @@ kdecommondepend="
if [[ ${PN} != kdelibs ]]; then
if [[ ${KDEBASE} = kde-base ]]; then
# All SLOT=4.3 and any SLOT=4.4 where PV < 4.3.66; only kde-base/
- [[ ${PN} != libknotificationitem ]] && slot_is_at_least 4.3 ${SLOT} && \
- [[ ${_pvn} < 4.3.66 || ${_pvn} == 4.3.9999 ]] && local libknotificationitem_required=1
+ if [[ ${PN} != libknotificationitem ]]; then
+ if [[ ${SLOT} == 4.3 ]] || [[ ${SLOT} == 4.4 ]] && [[ ${PV} < 4.3.66 ]]; then
+ local libknotificationitem_required=1
+ fi
+ fi
kdecommondepend+="
kdeprefix? ( >=kde-base/kdelibs${_pv}[kdeprefix] )
!kdeprefix? ( >=kde-base/kdelibs${_pvn}[-kdeprefix] )