summaryrefslogtreecommitdiff
path: root/x11/kdebase-workspace4/patches/patch-ca
blob: 2f57c8f6f03d1e0ff49ad5de21eed5217a765620 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ca,v 1.2 2010/04/10 02:45:04 markd Exp $

--- libs/ksysguard/processcore/CMakeLists.txt.orig	2009-09-16 11:39:05.000000000 +0000
+++ libs/ksysguard/processcore/CMakeLists.txt
@@ -16,7 +16,7 @@ kde4_add_library(processcore SHARED ${ks
 target_link_libraries(processcore ${KDE4_KDECORE_LIBS} )
 if( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" )
   message(STATUS "Adding kvm library on NetBSD")
-  target_link_libraries(processcore kvm)
+  target_link_libraries(processcore kvm ${RT_LIB_SCHED})
 endif( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" )
 
 set_target_properties(processcore PROPERTIES VERSION ${GENERIC_LIB_VERSION} SOVERSION ${GENERIC_LIB_SOVERSION} )
@@ -37,6 +37,10 @@ set(ksysguardprocesslist_helper_srcs
 
 kde4_add_executable(ksysguardprocesslist_helper ${ksysguardprocesslist_helper_srcs})
 target_link_libraries(ksysguardprocesslist_helper ${KDE4_KDECORE_LIBS})
+if( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" )
+  message(STATUS "Adding kvm library on NetBSD")
+  target_link_libraries(ksysguardprocesslist_helper kvm)
+endif( ${CMAKE_SYSTEM_NAME} MATCHES "NetBSD" )
 install(TARGETS ksysguardprocesslist_helper DESTINATION ${LIBEXEC_INSTALL_DIR})
 
 kde4_install_auth_helper_files(ksysguardprocesslist_helper org.kde.ksysguard.processlisthelper root)