File clucene-2.3.3.4-pkgconfig.patch of Package mingw64-clucene
--- clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake 2011-03-16 19:21:07.000000000 -0500
+++ clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake 2012-03-19 09:01:00.689263954 -0500
@@ -6,6 +6,6 @@ includedir=${prefix}/include:${prefix}/i
Name: libclucene
Description: CLucene - a C++ search engine, ported from the popular Apache Lucene
Version: @CLUCENE_VERSION_MAJOR@.@CLUCENE_VERSION_MINOR@.@CLUCENE_VERSION_REVISION@.@CLUCENE_VERSION_PATCH@
-Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core
-Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
-~
+Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared
+Cflags: -I${prefix}/include
+
--- clucene-core-2.3.3.4/src/core/CMakeLists.txt 2011-03-17 01:21:07.000000000 +0100
+++ clucene-core-2.3.3.4/src/core/CMakeLists.txt 2013-06-07 08:44:51.379265524 +0200
@@ -255,11 +255,9 @@
DESTINATION ${LIB_DESTINATION}/CLuceneConfig.cmake)
# install pkg-config file
-IF(NOT WIN32)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/libclucene-core.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libclucene-core.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libclucene-core.pc
DESTINATION ${LIB_DESTINATION}/pkgconfig )
-ENDIF(NOT WIN32)
#install non system-independent