commit: 90c98f270050f72cd7ad15eab98879d5eb97fcf2 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:01:58 2022 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=90c98f27
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-9999.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kde-misc/krusader/krusader-9999.ebuild b/kde-misc/krusader/krusader-9999.ebuild index cca0f04f5f..2ba8c6bd7d 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}"