summaryrefslogtreecommitdiff
path: root/kde-misc/krusader/krusader-9999.ebuild
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:01:58 +0100
commit90c98f270050f72cd7ad15eab98879d5eb97fcf2 (patch)
tree085454867143895c0fa8867b73a5947d78ca7aa9 /kde-misc/krusader/krusader-9999.ebuild
parent287aa61851bacdaed8ee03f70b5d8952261f4b68 (diff)
downloadkde-90c98f270050f72cd7ad15eab98879d5eb97fcf2.tar.gz
kde-90c98f270050f72cd7ad15eab98879d5eb97fcf2.tar.bz2
kde-90c98f270050f72cd7ad15eab98879d5eb97fcf2.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/krusader/krusader-9999.ebuild')
-rw-r--r--kde-misc/krusader/krusader-9999.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/kde-misc/krusader/krusader-9999.ebuild b/kde-misc/krusader/krusader-9999.ebuild
index cca0f04f5fa..2ba8c6bd7d5 100644
--- a/kde-misc/krusader/krusader-9999.ebuild
+++ b/kde-misc/krusader/krusader-9999.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}"