summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-01-25 18:49:06 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-01-26 05:05:17 +1100
commit08f9f7a994066ebb0aae618864c3e0da0e2424b3 (patch)
tree76e72a664f87c049ace3bc913d03ec7e5816f046 /eclass/kde4-base.eclass
parentkde-apps/kdebase-runtime-meta: Require kdesu[-handbook] (diff)
downloadgentoo-08f9f7a994066ebb0aae618864c3e0da0e2424b3.tar.gz
gentoo-08f9f7a994066ebb0aae618864c3e0da0e2424b3.tar.bz2
gentoo-08f9f7a994066ebb0aae618864c3e0da0e2424b3.zip
kde4-base.eclass: Exception for kde-apps/kdesu KDE_HANDBOOK, default off
Diffstat (limited to 'eclass/kde4-base.eclass')
-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} )"
;;