summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2011-11-29 23:17:15 +0100
committerAndreas K. Huettel (dilfridge) <mail@akhuettel.de>2011-11-29 23:17:15 +0100
commit1d71f55918aca1eebe6e10914219fd1c20f16b4d (patch)
tree1eacfff89edfd20b4db16b03a7120d308af23b1a /eclass
parent05e1b3b27758636acdb627b64edaa518be8f3b46 (diff)
downloadkde-1d71f55918aca1eebe6e10914219fd1c20f16b4d.tar.gz
kde-1d71f55918aca1eebe6e10914219fd1c20f16b4d.tar.bz2
kde-1d71f55918aca1eebe6e10914219fd1c20f16b4d.zip
[eclass] Spit out an eqawarn if handbook is in IUSE but KDE_HANDBOOK!=optional
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde4-base.eclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 20d36bd293b..7d3d60570a3 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -600,6 +600,11 @@ debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: SRC_URI is ${SRC_URI}"
kde4-base_pkg_setup() {
debug-print-function ${FUNCNAME} "$@"
+ if has handbook ${IUSE} || has "+handbook" ${IUSE} && [ "${KDE_HANDBOOK}" != optional ] ; then
+ eqawarn "Handbook support is enabled via KDE_HANDBOOK=optional in the ebuild."
+ eqawarn "Please do not just set IUSE=handbook, as this leads to dependency errors."
+ fi
+
if use_if_iuse kdeprefix; then
eerror "Sorry, kdeprefix support has been removed."
eerror "Please remove kdeprefix from your USE variable."