dovecot: disable lucene support in cross builds for now.

This commit is contained in:
Juan RP 2014-08-04 19:34:33 +02:00
parent 9d830ac67a
commit ea89fee1dc
1 changed files with 12 additions and 6 deletions

View File

@ -7,7 +7,7 @@ configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
--disable-static --with-nss --with-pam --with-mysql --with-pgsql
--with-sqlite --with-ssl=openssl --with-ssldir=/etc/dovecot/ssl
--with-gssapi --with-ldap=plugin --with-zlib --with-bzlib --with-lzma
--with-libcap --with-solr --with-lucene --with-docs
--with-libcap --with-solr --with-docs
--with-systemdsystemunitdir=/usr/lib/systemd/system"
short_desc="IMAP and POP3 server written with security primarily in mind"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -16,6 +16,11 @@ homepage="http://dovecot.org"
distfiles="${homepage}/releases/2.2/${pkgname}-${version}.tar.gz"
checksum=133cf3d2aa81733f6688ec986c91dbe07602fad81e856ba3d8046ffca85d9dce
makedepends="
zlib-devel bzip2-devel liblzma-devel libressl-devel mit-krb5-devel
libmysqlclient-devel>=5.5.27 postgresql-libs-devel sqlite-devel
libldap-devel libcap-devel pam-devel libcurl-devel expat-devel"
if [ "$CROSS_BUILD" ]; then
configure_args+="
i_cv_epoll_works=yes
@ -31,13 +36,14 @@ if [ "$CROSS_BUILD" ]; then
lib_cv_va_copy=yes
lib_cv___va_copy=yes
lib_cv_va_val_copy=yes"
# XXX clucene cannot be currently cross compiled
configure_args+=" --without-lucene"
subpackages="dovecot-plugin-ldap dovecot-plugin-mysql dovecot-plugin-pgsql dovecot-plugin-sqlite"
else
configure_args+=" --with-lucene"
makedepends+=" clucene-devel>=2.3.3.4_4"
fi
makedepends="
zlib-devel bzip2-devel liblzma-devel libressl-devel mit-krb5-devel
libmysqlclient-devel>=5.5.27 postgresql-libs-devel sqlite-devel
libldap-devel libcap-devel pam-devel libcurl-devel expat-devel
clucene-devel>=2.3.3.4_4"
# For SSL support.
depends="openssl>=0"
systemd_services="dovecot.service true"