summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-03-20 18:15:30 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-26 00:11:58 +1100
commitb0db5d580b55bd526d8c5f47a48bc2cb0b641b1f (patch)
tree499e18b5c2706f317beb84a22b66d1a205c70567 /kde-apps/rocs/files/rocs-15.12.3-doctools-optional.patch
parentkde-apps/kblocks: Drop old (diff)
downloadgentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.gz
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.tar.bz2
gentoo-b0db5d580b55bd526d8c5f47a48bc2cb0b641b1f.zip
kde-apps: Move kdeedu-meta 15.12.3 from kde overlay
Package-Manager: portage-2.2.27
Diffstat (limited to 'kde-apps/rocs/files/rocs-15.12.3-doctools-optional.patch')
-rw-r--r--kde-apps/rocs/files/rocs-15.12.3-doctools-optional.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/kde-apps/rocs/files/rocs-15.12.3-doctools-optional.patch b/kde-apps/rocs/files/rocs-15.12.3-doctools-optional.patch
new file mode 100644
index 000000000000..a74464c882e3
--- /dev/null
+++ b/kde-apps/rocs/files/rocs-15.12.3-doctools-optional.patch
@@ -0,0 +1,29 @@
+commit c4d77a5348fcf18aff734ccff13dcc87582a35be
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Tue Mar 8 19:34:32 2016 +0100
+
+ Make KF5DocTools really optional
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index cc71ba0..8e2c4e8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -57,7 +57,6 @@ find_package(KF5 5.15 REQUIRED COMPONENTS
+ CoreAddons
+ Crash
+ Declarative
+- DocTools
+ I18n
+ ItemViews
+ TextEditor
+@@ -80,7 +79,9 @@ remove_definitions(-DQT_NO_KEYWORDS)
+ ecm_optional_add_subdirectory(libgraphtheory)
+ ecm_optional_add_subdirectory(src)
+ ecm_optional_add_subdirectory(icons)
+-ecm_optional_add_subdirectory(doc)
++if(KF5DocTools_FOUND)
++ ecm_optional_add_subdirectory(doc)
++endif()
+
+ set_package_info(Boost "Boost C++ Libraries" "http://www.boost.org")
+ feature_summary(WHAT ALL)