summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-04-01 16:53:52 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-04-01 16:53:52 +0200
commitd73e37c03e45c988276c30eca39922e5852e4fe1 (patch)
tree964c5d245a7eae27b4c39a783e4d1332e6b7e4de /kde-apps/kwrite
parentkde-apps/kate: Fix USE=addons (diff)
downloadgentoo-d73e37c03e45c988276c30eca39922e5852e4fe1.tar.gz
gentoo-d73e37c03e45c988276c30eca39922e5852e4fe1.tar.bz2
gentoo-d73e37c03e45c988276c30eca39922e5852e4fe1.zip
kde-apps/kwrite: Set KDE_HANDBOOK optional, fix cmake warning
Reported-by: Arfrever Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'kde-apps/kwrite')
-rw-r--r--kde-apps/kwrite/kwrite-16.12.3.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/kde-apps/kwrite/kwrite-16.12.3.ebuild b/kde-apps/kwrite/kwrite-16.12.3.ebuild
index 5411a66b7246..af9f4a027ebc 100644
--- a/kde-apps/kwrite/kwrite-16.12.3.ebuild
+++ b/kde-apps/kwrite/kwrite-16.12.3.ebuild
@@ -4,7 +4,7 @@
EAPI=6
KMNAME="kate"
-KDE_HANDBOOK="true"
+KDE_HANDBOOK="optional"
inherit kde5
DESCRIPTION="KDE simple text editor"
@@ -34,9 +34,8 @@ src_configure() {
local mycmakeargs=(
-DBUILD_addons=FALSE
-DBUILD_kate=FALSE
- -DBUILD_katepart=FALSE
- $(cmake-utils_use_find_package handbook DocTools)
)
+ use handbook && mycmakeargs+=( -DBUILD_katepart=FALSE )
kde5_src_configure
}