summaryrefslogtreecommitdiff
path: root/user/clucene/pkgconfig.patch
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-08 12:35:44 -0400
committerMax Rees <maxcrees@me.com>2018-08-08 12:35:44 -0400
commit8ffd78026c9bcee056738d417c176df6e36b32e8 (patch)
treec5bcf8719af526051ccb5aee4cedbd1600d738d5 /user/clucene/pkgconfig.patch
parenta2d6e9030847a3c5bb0c6a70ce074de45c92e257 (diff)
downloadpackages-8ffd78026c9bcee056738d417c176df6e36b32e8.tar.gz
packages-8ffd78026c9bcee056738d417c176df6e36b32e8.tar.bz2
packages-8ffd78026c9bcee056738d417c176df6e36b32e8.tar.xz
packages-8ffd78026c9bcee056738d417c176df6e36b32e8.zip
user/clucene: modernize, fix license
Diffstat (limited to 'user/clucene/pkgconfig.patch')
-rw-r--r--user/clucene/pkgconfig.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/clucene/pkgconfig.patch b/user/clucene/pkgconfig.patch
new file mode 100644
index 000000000..aff20d7b4
--- /dev/null
+++ b/user/clucene/pkgconfig.patch
@@ -0,0 +1,12 @@
+diff -up clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake.pkgconfig_sys_includes clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake
+--- clucene-core-2.3.3.4/src/core/libclucene-core.pc.cmake.pkgconfig_sys_includes 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 -I${prefix}/include/CLucene/ext -I@LUCENE_SYS_INCLUDES@
+ ~