[Dovecot] clucene-config.h location

Dimitri mitya at mageia.org
Sun Dec 23 03:37:18 EET 2012


By deafult, CLucene installs the clucene-config.h header
to /usr/lib/CLucene, but fts-lucene tries to include it
from /usr/include/CLucene and fails. Here is how it is fixed in Fedora,
for instance:

sed -i '/DEFAULT_INCLUDES *=/s|$| '"$(pkg-config --cflags
libclucene-core)|" src/plugins/fts-lucene/Makefile.in

Indeed, Lucene's pkgconfig file reflects the fact that some headers
reside in /usr/lib/CLucene. It would be great if Dovecot used pkgconfig
for CLucene.

Thanks,
Dimitri
Mageia Linux packager





More information about the dovecot mailing list