$OpenBSD: patch-resources_akonotes_CMakeLists_txt,v 1.2 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- resources/akonotes/CMakeLists.txt.orig	Thu May  8 12:42:54 2014
+++ resources/akonotes/CMakeLists.txt	Sun May 18 20:59:49 2014
@@ -36,7 +36,7 @@ install( FILES akonotesresource.desktop DESTINATION "$
 
 kde4_add_plugin(akonadi_akonotes_resource ${akonotesresource_SRCS})
 
-target_link_libraries(akonadi_akonotes_resource ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_AKONADI_KMIME_LIBS} maildir ${QT_QTDBUS_LIBRARY} ${KDE4_KIO_LIBS} ${KDEPIMLIBS_KMIME_LIBS} folderarchivesettings)
+target_link_libraries(akonadi_akonotes_resource maildir folderarchivesettings ${KDEPIMLIBS_AKONADI_KMIME_LIBS} ${KDEPIMLIBS_AKONADI_LIBS} ${KDEPIMLIBS_KMIME_LIBS} ${KDE4_KIO_LIBS} ${QT_QTDBUS_LIBRARY})
 
 install(TARGETS akonadi_akonotes_resource DESTINATION ${PLUGIN_INSTALL_DIR})
 
