dovecot: enable -devel subpkg for cross builds too.

This commit is contained in:
Juan RP 2015-08-08 05:33:20 +02:00
parent d4ecb015e3
commit 71490b016d

View file

@ -1,7 +1,7 @@
# Template file for 'dovecot'
pkgname=dovecot
version=2.2.18
revision=8
revision=9
build_style=gnu-configure
configure_args="--with-moduledir=/usr/lib/dovecot/modules --with-sql=plugin
--disable-static --with-pam --with-mysql --with-pgsql
@ -37,7 +37,7 @@ if [ "$CROSS_BUILD" ]; then
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"
subpackages="dovecot-devel dovecot-plugin-ldap dovecot-plugin-mysql dovecot-plugin-pgsql dovecot-plugin-sqlite"
else
configure_args+=" --with-lucene"
makedepends+=" clucene-devel"
@ -100,8 +100,6 @@ dovecot-devel_package() {
vmove usr/lib/dovecot/dovecot-config
}
}
dovecot-plugin-ldap_package() {
depends="dovecot>=${version}"
short_desc+=" - LDAP plugin"