summaryrefslogtreecommitdiffstats
path: root/redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2011-11-30 20:08:46 +0100
committerFrancois Andriot <francois.andriot@free.fr>2011-11-30 20:08:46 +0100
commit11cd202f7fc1d6c25135969308f3d72ed57e7f3c (patch)
tree000702c9da05591ad1c1f42546386c3914a903db /redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch
parent184f44c7e7a1039bb209e3c6a5abd079bcae8e98 (diff)
downloadtde-packaging-11cd202f7fc1d6c25135969308f3d72ed57e7f3c.tar.gz
tde-packaging-11cd202f7fc1d6c25135969308f3d72ed57e7f3c.zip
RHEL/Fedora: fix bibletime compilation on Fedora16
Diffstat (limited to 'redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch')
-rw-r--r--redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch b/redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch
new file mode 100644
index 000000000..2e5d6db69
--- /dev/null
+++ b/redhat/applications/bibletime/bibletime-3.5.13-clucene_detection.patch
@@ -0,0 +1,20 @@
+--- clucene.m4.ORI 2011-11-30 19:22:02.284530031 +0100
++++ clucene.m4 2011-11-30 20:03:45.704532045 +0100
+@@ -28,7 +28,7 @@
+
+ dnl try to find CLucene library files
+ AC_MSG_CHECKING([for CLucene library files])
+-ac_clucene_library_dirs="$ac_clucene_dir/lib $exec_prefix/lib $prefix/lib /usr/lib /usr/lib64 /usr/local/lib"
++ac_clucene_library_dirs="/usr/lib/clucene09 /usr/lib64/clucene09 $ac_clucene_dir/lib $exec_prefix/lib $prefix/lib /usr/lib /usr/lib64 /usr/local/lib"
+
+ if test "x$ac_static_clucene" = "xYES"; then
+ SEARCH_LIBS="libclucene.a";
+@@ -62,7 +62,7 @@
+
+ dnl -- try to find CLucene include files --
+ AC_MSG_CHECKING([for Clucene include files])
+-ac_clucene_include_dirs="$ac_clucene_dir/include $exec_prefix/include $prefix/include /usr/include /usr/local/include"
++ac_clucene_include_dirs=" /usr/include/clucene09 $ac_clucene_dir/include $exec_prefix/include $prefix/include /usr/include /usr/local/include"
+
+ AC_CACHE_VAL(ac_cv_clucene_incdir, AC_FIND_FILE(CLucene.h, $ac_clucene_include_dirs, ac_cv_clucene_incdir))
+