Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/kmail/
Date: Sun, 30 Aug 2020 19:02:27
Message-Id: 1598808183.f5258cd6aaf84736bbe1d20f1713defb2102f3c9.asturm@gentoo
1 commit: f5258cd6aaf84736bbe1d20f1713defb2102f3c9
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 11:36:52 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 17:23:03 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=f5258cd6
7
8 kde-apps/kmail: Use cmake_comment_add_subdirectory
9
10 Package-Manager: Portage-3.0.4, Repoman-3.0.1
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 kde-apps/kmail/kmail-20.08.49.9999.ebuild | 5 +----
14 kde-apps/kmail/kmail-9999.ebuild | 5 +----
15 2 files changed, 2 insertions(+), 8 deletions(-)
16
17 diff --git a/kde-apps/kmail/kmail-20.08.49.9999.ebuild b/kde-apps/kmail/kmail-20.08.49.9999.ebuild
18 index c08431e8c9..cdadd74a7b 100644
19 --- a/kde-apps/kmail/kmail-20.08.49.9999.ebuild
20 +++ b/kde-apps/kmail/kmail-20.08.49.9999.ebuild
21 @@ -91,10 +91,7 @@ RESTRICT+=" test" # bug 616878
22
23 src_prepare() {
24 ecm_src_prepare
25 -
26 - if ! use handbook; then
27 - sed -i ktnef/CMakeLists.txt -e "/add_subdirectory(doc)/ s/^/#DONT/" || die
28 - fi
29 + use handbook || cmake_run_in ktnef cmake_comment_add_subdirectory doc
30 }
31
32 src_configure() {
33
34 diff --git a/kde-apps/kmail/kmail-9999.ebuild b/kde-apps/kmail/kmail-9999.ebuild
35 index d078a15349..fc2ee9e1d9 100644
36 --- a/kde-apps/kmail/kmail-9999.ebuild
37 +++ b/kde-apps/kmail/kmail-9999.ebuild
38 @@ -91,10 +91,7 @@ RESTRICT+=" test" # bug 616878
39
40 src_prepare() {
41 ecm_src_prepare
42 -
43 - if ! use handbook; then
44 - sed -i ktnef/CMakeLists.txt -e "/add_subdirectory(doc)/ s/^/#DONT/" || die
45 - fi
46 + use handbook || cmake_run_in ktnef cmake_comment_add_subdirectory doc
47 }
48
49 src_configure() {