diff options
| -rw-r--r-- | eclass/kde4-base.eclass | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass index d8cfd06a33f..a8a1f7a27a6 100644 --- a/eclass/kde4-base.eclass +++ b/eclass/kde4-base.eclass @@ -332,11 +332,17 @@ if [[ -n ${KDE_HANDBOOK} ]]; then app-text/docbook-xsl-stylesheets ) " - if [[ ${PN} != khelpcenter ]]; then + if [[ ${PN} != kdelibs ]]; then if [[ ${KDEBASE} = kde-base ]]; then - PDEPEND+=" handbook? ( $(add_kdebase_dep khelpcenter) )" + PDEPEND+=" handbook? ( $(add_kdebase_dep kdelibs 'handbook') )" else - PDEPEND+=" handbook? ( >=kde-base/khelpcenter-${KDE_MINIMAL} )" + PDEPEND+=" handbook? ( >=kde-base/kdelibs-${KDE_MINIMAL}[handbook] )" + fi + elif [[ ${PN} != khelpcenter ]]; then + if [[ ${KDEBASE} = kde-base ]]; then + PDEPEND+=" handbook? ( $(add_kdebase_dep khelpcenter 'handbook') )" + else + PDEPEND+=" handbook? ( >=kde-base/khelpcenter-${KDE_MINIMAL}[handbook] )" fi fi fi |
