Building dovecot2 with Lucene Full Text Search Indexing, doesn't find stemming support and doesn't see that libexttextcat may already be installed. Fix: with each update of textproc/libexttextcat, the library name has changed from libexttextcat.so to libexttextcat-1.0.so to (present) libexttextcat-2.0.so the libstemmer that is included with textproc/clucene is in libclucene-contribs-lib.so patch configure, src/plugins/fts-lucene/Makefile.in, and src/plugins/fts-lucene/SnowballFilter.h to find these. --- src/plugins/fts-lucene/Makefile.in.orig 2012-11-29 19:33:30.000000000 -0600 +++ src/plugins/fts-lucene/Makefile.in 2013-02-03 11:49:29.324136436 -0600 @@ -320,9 +320,9 @@ module_LTLIBRARIES = \ lib21_fts_lucene_plugin.la -@BUILD_LUCENE_STEMMER_TRUE@STEMMER_LIBS = -lstemmer +@BUILD_LUCENE_STEMMER_TRUE@STEMMER_LIBS = -lclucene-contribs-lib @BUILD_LUCENE_STEMMER_TRUE@SHOWBALL_SOURCES = Snowball.cc -@BUILD_LUCENE_EXTTEXTCAT_TRUE@@BUILD_LUCENE_TEXTCAT_FALSE@TEXTCAT_LIBS = -lexttextcat +@BUILD_LUCENE_EXTTEXTCAT_TRUE@@BUILD_LUCENE_TEXTCAT_FALSE@TEXTCAT_LIBS = -lexttextcat-2.0 @BUILD_LUCENE_TEXTCAT_TRUE@TEXTCAT_LIBS = -ltextcat lib21_fts_lucene_plugin_la_LIBADD = \ -lclucene-shared -lclucene-core $(TEXTCAT_LIBS) $(STEMMER_LIBS) --- patch-src__plugins__fts-lucene__Makefile.in ends here --- How-To-Repeat: make config - select LUCENE make configure - check config.h if textproc/libexttextcat is already installed, should see #define HAVE_LUCENE_EXTTEXTCAT Also, since textproc/clucene includes libstemmer, should also see #define HAVE_LUCENE_STEMMER
Maintainer of mail/dovecot2, Please note that PR ports/175813 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/175813 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Hi, this patch is still needed for the current version in the ports tree?
Timeout