commit:     08f9f7a994066ebb0aae618864c3e0da0e2424b3
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Mon Jan 25 17:49:06 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 18:05:17 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08f9f7a9

kde4-base.eclass: Exception for kde-apps/kdesu KDE_HANDBOOK, default off

 eclass/kde4-base.eclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index eef13df..299ac3e 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} )"
                ;;

Reply via email to