Gentoo Archives: gentoo-commits

From: "Andreas Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Tue, 29 Nov 2011 22:18:08
Message-Id: 1d71f55918aca1eebe6e10914219fd1c20f16b4d.dilfridge@gentoo
1 commit: 1d71f55918aca1eebe6e10914219fd1c20f16b4d
2 Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de>
3 AuthorDate: Tue Nov 29 22:17:15 2011 +0000
4 Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 29 22:17:15 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=1d71f559
7
8 [eclass] Spit out an eqawarn if handbook is in IUSE but KDE_HANDBOOK!=optional
9
10 ---
11 eclass/kde4-base.eclass | 5 +++++
12 1 files changed, 5 insertions(+), 0 deletions(-)
13
14 diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
15 index 20d36bd..7d3d605 100644
16 --- a/eclass/kde4-base.eclass
17 +++ b/eclass/kde4-base.eclass
18 @@ -600,6 +600,11 @@ debug-print "${LINENO} ${ECLASS} ${FUNCNAME}: SRC_URI is ${SRC_URI}"
19 kde4-base_pkg_setup() {
20 debug-print-function ${FUNCNAME} "$@"
21
22 + if has handbook ${IUSE} || has "+handbook" ${IUSE} && [ "${KDE_HANDBOOK}" != optional ] ; then
23 + eqawarn "Handbook support is enabled via KDE_HANDBOOK=optional in the ebuild."
24 + eqawarn "Please do not just set IUSE=handbook, as this leads to dependency errors."
25 + fi
26 +
27 if use_if_iuse kdeprefix; then
28 eerror "Sorry, kdeprefix support has been removed."
29 eerror "Please remove kdeprefix from your USE variable."