--- a
+++ b/packaging/debian/debiankio/patches/fix-cmake-build-parser.patch
@@ -0,0 +1,21 @@
+diff -r 1e9d7ca73884 src/kde/kioslave/kio_recoll/CMakeLists.txt
+--- a/kde/kioslave/kio_recoll/CMakeLists.txt	Tue Jun 16 15:06:07 2015 +0200
++++ b/kde/kioslave/kio_recoll/CMakeLists.txt	Wed Jun 17 09:08:36 2015 +0200
+@@ -57,11 +57,16 @@
+ 
+ kde4_add_plugin(kio_recoll ${kio_recoll_SRCS})
+ 
++add_custom_target(parser
++                 COMMAND make wasaparse.tab.cpp
++                 WORKING_DIRECTORY ${rcltop}/query
++)
+ add_custom_target(rcllib
+                  COMMAND make librecoll.a
+                  WORKING_DIRECTORY ${rcltop}/lib
+ )
+-add_dependencies(kio_recoll rcllib)
++add_dependencies(rcllib parser)
++add_dependencies(kio_recoll parser rcllib)
+ 
+ target_link_libraries(kio_recoll recoll xapian z ${EXTRA_LIBS} ${KDE4_KIO_LIBS})
+