mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
dovecot: cross build support.
This commit is contained in:
parent
7d5ed50006
commit
4d7c2fb5ca
1 changed files with 24 additions and 3 deletions
|
@ -15,9 +15,30 @@ homepage="http://dovecot.org"
|
||||||
distfiles="${homepage}/releases/2.2/${pkgname}-${version}.tar.gz"
|
distfiles="${homepage}/releases/2.2/${pkgname}-${version}.tar.gz"
|
||||||
checksum=15b2cd607e6533f4805f471a61dd1c8bd81675cecc6ea6361504247dd9af5cf8
|
checksum=15b2cd607e6533f4805f471a61dd1c8bd81675cecc6ea6361504247dd9af5cf8
|
||||||
|
|
||||||
makedepends="openssl-devel mit-krb5-devel libmysqlclient-devel>=5.5.27
|
if [ "$CROSS_BUILD" ]; then
|
||||||
postgresql-libs-devel sqlite-devel libldap-devel libcap-devel pam-devel
|
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/mysql"
|
||||||
libcurl-devel expat-devel"
|
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() {
|
post_install() {
|
||||||
local econfdir=usr/share/doc/dovecot/example-config
|
local econfdir=usr/share/doc/dovecot/example-config
|
||||||
|
|
Loading…
Add table
Reference in a new issue