dovecot: cross build support.
This commit is contained in:
parent
7d5ed50006
commit
4d7c2fb5ca
|
@ -15,9 +15,30 @@ homepage="http://dovecot.org"
|
|||
distfiles="${homepage}/releases/2.2/${pkgname}-${version}.tar.gz"
|
||||
checksum=15b2cd607e6533f4805f471a61dd1c8bd81675cecc6ea6361504247dd9af5cf8
|
||||
|
||||
makedepends="openssl-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
|
||||
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/mysql"
|
||||
LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib"
|
||||
# XXX needs host krb5-config and mysql-config
|
||||
hostmakedepends=" mit-krb5-devel libmysqlclient-devel"
|
||||
configure_args+="
|
||||
i_cv_epoll_works=yes
|
||||
i_cv_inotify_works=yes
|
||||
i_cv_posix_fallocate_works=yes
|
||||
i_cv_signed_size_t=no
|
||||
i_cv_gmtime_max_time_t=32
|
||||
i_cv_signed_time_t=yes
|
||||
i_cv_mmap_plays_with_write=yes
|
||||
i_cv_fd_passing=yes
|
||||
i_cv_c99_vsnprintf=yes
|
||||
i_cv_gssapi_spnego=yes
|
||||
lib_cv_va_copy=yes
|
||||
lib_cv___va_copy=yes
|
||||
lib_cv_va_val_copy=yes"
|
||||
fi
|
||||
|
||||
makedepends="zlib-devel bzip2-devel openssl-devel mit-krb5-devel
|
||||
libmysqlclient-devel>=5.5.27 postgresql-libs-devel sqlite-devel
|
||||
libldap-devel libcap-devel pam-devel libcurl-devel expat-devel"
|
||||
|
||||
post_install() {
|
||||
local econfdir=usr/share/doc/dovecot/example-config
|
||||
|
|
Loading…
Reference in New Issue