$OpenBSD: patch-services_fileindexer_indexer_CMakeLists_txt,v 1.1 2013/12/08 19:13:33 zhuk Exp $
Fix linking.
--- services/fileindexer/indexer/CMakeLists.txt.orig	Tue Nov  5 18:13:41 2013
+++ services/fileindexer/indexer/CMakeLists.txt	Tue Nov  5 19:01:16 2013
@@ -9,9 +9,9 @@ include_directories(
 kde4_add_library(nepomukextractor SHARED extractorplugin.cpp)
 
 target_link_libraries(nepomukextractor
-  ${QT_QTCORE_LIBRARY}
-  ${KDE4_KDECORE_LIBS}
   nepomukcore
+  ${KDE4_KDECORE_LIBS}
+  ${QT_QTCORE_LIBRARY}
 )
 
 install(TARGETS nepomukextractor EXPORT NepomukCoreLibraryTargets ${INSTALL_TARGETS_DEFAULT_ARGS})
@@ -33,8 +33,8 @@ target_link_libraries( nepomukindexer
   nepomukcommon
   nepomukcore
   nepomukextractor
-  ${KDE4_KDECORE_LIBS}
   ${KDE4_KDEUI_LIBS}
+  ${KDE4_KDECORE_LIBS}
   ${SOPRANO_LIBRARIES}
   )
 
@@ -78,8 +78,8 @@ if(TAGLIB_FOUND)
     kde4_add_plugin( nepomuktaglibextractor taglibextractor.cpp )
 
     target_link_libraries( nepomuktaglibextractor
-        nepomukcore
         nepomukextractor
+        nepomukcore
         ${KDE4_KIO_LIBS}
         ${TAGLIB_LIBRARIES}
     )
@@ -104,8 +104,8 @@ if(EXIV2_FOUND)
     kde4_add_plugin( nepomukexiv2extractor exiv2extractor.cpp )
 
     target_link_libraries( nepomukexiv2extractor
-        nepomukcore
         nepomukextractor
+        nepomukcore
         ${KDE4_KIO_LIBS}
         ${EXIV2_LIBRARIES}
     )
@@ -126,8 +126,8 @@ if(FFMPEG_FOUND)
     kde4_add_plugin( nepomukffmpegextractor ffmpegextractor.cpp )
 
     target_link_libraries( nepomukffmpegextractor
-        nepomukcore
         nepomukextractor
+        nepomukcore
         ${KDE4_KIO_LIBS}
         ${FFMPEG_LIBRARIES}
     )
@@ -149,8 +149,8 @@ if(EPUB_FOUND)
     kde4_add_plugin( nepomukepubextractor epubextractor.cpp )
 
     target_link_libraries( nepomukepubextractor
-        nepomukcore
         nepomukextractor
+        nepomukcore
         ${KDE4_KIO_LIBS}
         ${EPUB_LIBRARIES}
     )
@@ -171,8 +171,8 @@ endif(EPUB_FOUND)
 kde4_add_plugin( nepomukplaintextextractor plaintextextractor.cpp )
 
 target_link_libraries( nepomukplaintextextractor
-    nepomukcore
     nepomukextractor
+    nepomukcore
     ${KDE4_KIO_LIBS}
     ${FFMPEG_LIBRARIES}
 )
@@ -212,8 +212,8 @@ DESTINATION ${PLUGIN_INSTALL_DIR})
 kde4_add_plugin( nepomukoffice2007extractor office2007extractor.cpp )
 
 target_link_libraries( nepomukoffice2007extractor
-    nepomukcore
     nepomukextractor
+    nepomukcore
     ${KDE4_KIO_LIBS}
 )
 
