summaryrefslogtreecommitdiff
path: root/sysutils/ksysguardd/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/ksysguardd/files/patch-CMakeLists.txt')
-rw-r--r--sysutils/ksysguardd/files/patch-CMakeLists.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/sysutils/ksysguardd/files/patch-CMakeLists.txt b/sysutils/ksysguardd/files/patch-CMakeLists.txt
index 18c322c0d371..f7e699e29eae 100644
--- a/sysutils/ksysguardd/files/patch-CMakeLists.txt
+++ b/sysutils/ksysguardd/files/patch-CMakeLists.txt
@@ -1,6 +1,11 @@
---- ./CMakeLists.txt.orig 2011-02-25 22:54:48.000000000 +0100
-+++ ./CMakeLists.txt 2011-03-05 16:31:50.557158447 +0100
-@@ -9,12 +9,15 @@
+--- CMakeLists.txt.orig 2014-10-10 07:47:23 UTC
++++ CMakeLists.txt
+@@ -7,16 +7,19 @@ include_directories( ${CMAKE_CURRENT_SOU
+ # Laurent: Verify that we install it into (kdeprefix)/etc/ and not into /etc
+ # otherwise it's necessary to change it.
+ # into kde 3.x it was installed into /etc/
+-add_definitions( -DKSYSGUARDDRCFILE="\\"${SYSCONF_INSTALL_DIR}/ksysguarddrc\\"" )
++add_definitions( -DKSYSGUARDDRCFILE=\"${SYSCONF_INSTALL_DIR}/ksysguarddrc\" )
add_definitions(-DOSTYPE_${CMAKE_SYSTEM_NAME})
@@ -21,7 +26,7 @@
configure_file(config-ksysguardd.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-ksysguardd.h)
-@@ -67,4 +70,5 @@
+@@ -69,4 +72,5 @@ if( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS"
target_link_libraries(ksysguardd socket nsl)
endif( ${CMAKE_SYSTEM_NAME} MATCHES "SunOS" )