summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/kde4-base.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index eef13df42e73..299ac3e7c329 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -358,7 +358,11 @@ case ${KDE_HANDBOOK} in
[[ ${PN} != kdelibs ]] && kderdepend+=" ${kdehandbookrdepend}"
;;
optional)
- IUSE+=" +handbook"
+ if [[ ${PN} == kdesu ]] ; then
+ IUSE+=" handbook"
+ else
+ IUSE+=" +handbook"
+ fi
kdedepend+=" handbook? ( ${kdehandbookdepend} )"
[[ ${PN} != kdelibs ]] && kderdepend+=" handbook? ( ${kdehandbookrdepend} )"
;;