commit:     57935050fcbddf9060d88024b254d4de09e82f49
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 01:01:14 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 01:02:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57935050
kde-misc/krusader: Fix build with USE=-handbook

Closes: https://bugs.gentoo.org/880763
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-misc/krusader/krusader-2.8.0_pre20221106.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/kde-misc/krusader/krusader-2.8.0_pre20221106.ebuild 
b/kde-misc/krusader/krusader-2.8.0_pre20221106.ebuild
index da6d2756d64a..e86cd32f9f5d 100644
--- a/kde-misc/krusader/krusader-2.8.0_pre20221106.ebuild
+++ b/kde-misc/krusader/krusader-2.8.0_pre20221106.ebuild
@@ -58,6 +58,11 @@ RDEPEND="${COMMON_DEPEND}
        kde-apps/kio-extras:5
 "
 
+src_prepare() {
+       ecm_src_prepare
+       use handbook || cmake_comment_add_subdirectory doc/handbook
+}
+
 pkg_postinst() {
        if [[ -z "${REPLACING_VERSIONS}" ]]; then
                optfeature "Markdown text previews" 
"kde-misc/markdownpart:${SLOT}"

Reply via email to