aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/clucene
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2013-04-17 03:02:54 +0800
committerjkim <jkim@FreeBSD.org>2013-04-17 03:02:54 +0800
commit886a46142a53b31aeae9029a13374d856145afa0 (patch)
tree1fb5d8616e02f4b22ef0c7e5ce8b02aa8898180f /textproc/clucene
parentf0fdec9faf05b7751f16b0b5420d18d9eeaece21 (diff)
downloadfreebsd-ports-gnome-886a46142a53b31aeae9029a13374d856145afa0.tar.gz
freebsd-ports-gnome-886a46142a53b31aeae9029a13374d856145afa0.tar.zst
freebsd-ports-gnome-886a46142a53b31aeae9029a13374d856145afa0.zip
Add "-lclucene-shared" to linker flags. This patch is known to fix build
issues with non-base compilers. http://sourceforge.net/tracker/?func=detail&aid=3461512&group_id=80013&atid=558446 Prodded by: avg Feature safe: yes
Diffstat (limited to 'textproc/clucene')
-rw-r--r--textproc/clucene/files/patch-src__core__libclucene-core.pc.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/textproc/clucene/files/patch-src__core__libclucene-core.pc.cmake b/textproc/clucene/files/patch-src__core__libclucene-core.pc.cmake
new file mode 100644
index 000000000000..d212b3491337
--- /dev/null
+++ b/textproc/clucene/files/patch-src__core__libclucene-core.pc.cmake
@@ -0,0 +1,10 @@
+--- src/core/libclucene-core.pc.cmake.orig 2011-03-16 20:21:07.000000000 -0400
++++ src/core/libclucene-core.pc.cmake 2013-04-16 14:52:22.000000000 -0400
+@@ -6,6 +6,6 @@
+ 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
++Libs: -L${prefix}/@LIB_DESTINATION@/ -lclucene-core -lclucene-shared
+ Cflags: -I${prefix}/include -I${prefix}/include/CLucene/ext
+ ~