summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-11-15 02:01:14 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-11-15 02:02:53 +0100
commit57935050fcbddf9060d88024b254d4de09e82f49 (patch)
tree172338018225c8308fa80b926ea1aa335aee9652 /kde-misc
parentnet-misc/curl: Fix typo in -without-gnutls option (diff)
downloadgentoo-57935050fcbddf9060d88024b254d4de09e82f49.tar.gz
gentoo-57935050fcbddf9060d88024b254d4de09e82f49.tar.bz2
gentoo-57935050fcbddf9060d88024b254d4de09e82f49.zip
kde-misc/krusader: Fix build with USE=-handbook
Closes: https://bugs.gentoo.org/880763 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc')
-rw-r--r--kde-misc/krusader/krusader-2.8.0_pre20221106.ebuild5
1 files changed, 5 insertions, 0 deletions
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}"