summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-05-15 11:03:57 +0200
committerJohannes Huber <johu@gentoo.org>2016-05-19 16:16:38 +0200
commitb30c3b5c81c723a8e705b05e4fef476011783c07 (patch)
tree4f09af2061fa61093b93b2e2becc281218da5bac /eclass
parentd3dd21a3661b853c7269e27fdf7c33a7e468a104 (diff)
downloadgentoo-b30c3b5c81c723a8e705b05e4fef476011783c07.tar.gz
gentoo-b30c3b5c81c723a8e705b05e4fef476011783c07.tar.xz
kde4-base.eclass: Add exceptions to USE=+handbook
kde-apps/kcontrol and kde-apps/knetattach also collide with slot 5. Signed-off-by: Johannes Huber <johu@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass15
1 files changed, 9 insertions, 6 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 050f0c4fc80..2d761f8ae8f 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -160,7 +160,7 @@ KDE_HANDBOOK="${KDE_HANDBOOK:-never}"
# translations. (Mostly all kde ebuilds does not ship documentation
# and translations in live ebuilds)
if [[ ${KDE_BUILD_TYPE} == live && -z ${KDE_LINGUAS_LIVE_OVERRIDE} ]]; then
- # Kdebase actualy provides the handbooks even for live stuff
+ # Kdebase actually provides the handbooks even for live stuff
[[ ${KDEBASE} == kde-base ]] || KDE_HANDBOOK=never
KDE_LINGUAS=""
fi
@@ -358,11 +358,14 @@ case ${KDE_HANDBOOK} in
[[ ${PN} != kdelibs ]] && kderdepend+=" ${kdehandbookrdepend}"
;;
optional)
- if [[ ${PN} == kdesu ]] ; then
- IUSE+=" handbook"
- else
- IUSE+=" +handbook"
- fi
+ case ${PN} in
+ kcontrol | kdesu | knetattach)
+ _IUSE+=" handbook"
+ ;;
+ *)
+ IUSE+=" +handbook"
+ ;;
+ esac
kdedepend+=" handbook? ( ${kdehandbookdepend} )"
[[ ${PN} != kdelibs ]] && kderdepend+=" handbook? ( ${kdehandbookrdepend} )"
;;