summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-11 20:34:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-11 23:46:07 +0200
commitf8568e7e4aa86e96a664a503a37c2b7dfaa1d441 (patch)
tree2b643370df575ece92d162ca53d7dc12b4565872
parentnet-wireless/urh: bump (diff)
downloadgentoo-f8568e7e4aa86e96a664a503a37c2b7dfaa1d441.tar.gz
gentoo-f8568e7e4aa86e96a664a503a37c2b7dfaa1d441.tar.bz2
gentoo-f8568e7e4aa86e96a664a503a37c2b7dfaa1d441.zip
kde5.eclass: Disable kdoctools_install(po) if KDE_HANDBOOK=forceoptional
Reported-by: Perfect Gentleman <perfect007gentleman@gmail.com> Gentoo-bug: 618210
-rw-r--r--eclass/kde5.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/kde5.eclass b/eclass/kde5.eclass
index 1e020f11da2..60d8f131f1c 100644
--- a/eclass/kde5.eclass
+++ b/eclass/kde5.eclass
@@ -544,6 +544,7 @@ kde5_src_prepare() {
if [[ ${KDE_HANDBOOK} = forceoptional ]] ; then
punt_bogus_dep KF5 DocTools
+ sed -i -e "/kdoctools_install/ s/^/#DONT/" CMakeLists.txt || die
fi
fi