From ea89fee1dcd1b6dc330442e6fd2e87dbeffc608e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 4 Aug 2014 19:34:33 +0200 Subject: [PATCH] dovecot: disable lucene support in cross builds for now. --- srcpkgs/dovecot/template | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/srcpkgs/dovecot/template b/srcpkgs/dovecot/template index 7669307538..8803bc4c0b 100644 --- a/srcpkgs/dovecot/template +++ b/srcpkgs/dovecot/template @@ -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 " @@ -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"