From fcee21e44b8fdfb118e4e4b0efe324eca4715f45 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 8 Mar 2014 13:32:00 +0100 Subject: [PATCH] dovecot: improved to be able to cross-compile --- mail/dovecot/dovecot.conf | 20 +++++++++++++++++++- mail/dovecot/dovecot.desc | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/mail/dovecot/dovecot.conf b/mail/dovecot/dovecot.conf index 4ea26090c..2a97c56d9 100644 --- a/mail/dovecot/dovecot.conf +++ b/mail/dovecot/dovecot.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../dovecot/dovecot.conf -# Copyright (C) 2007 - 2013 The OpenSDE Project +# Copyright (C) 2007 - 2014 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -12,6 +12,24 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- +if atstage cross; then + # currently this config cache variables have only be checked + # against a native glibc build + # TODO: check other libc implementations like musl + var_append configcache ' ' "i_cv_epoll_works=yes" + var_append configcache ' ' "i_cv_inotify_works=yes" + var_append configcache ' ' "i_cv_posix_fallocate_works=yes" + var_append configcache ' ' "i_cv_signed_size_t=no" + var_append configcache ' ' "i_cv_gmtime_max_time_t=40" + var_append configcache ' ' "i_cv_signed_time_t=yes" + var_append configcache ' ' "i_cv_mmap_plays_with_write=yes" + var_append configcache ' ' "i_cv_fd_passing=yes" + var_append configcache ' ' "i_cv_c99_vsnprintf=yes" + var_append configcache ' ' "lib_cv_va_copy=yes" + var_append configcache ' ' "lib_cv___va_copy=yes" + var_append configcache ' ' "lib_cv_va_val_copy=no" +fi + # install development headers by default var_append confopt ' ' "--enable-header-install" diff --git a/mail/dovecot/dovecot.desc b/mail/dovecot/dovecot.desc index 285eeb89d..dd6026495 100644 --- a/mail/dovecot/dovecot.desc +++ b/mail/dovecot/dovecot.desc @@ -34,7 +34,7 @@ [L] LGPL MIT [S] Stable [V] 2.2.10 -[P] X -----5---9 194.300 +[P] X -?---5---9 194.300 [CV-URL] http://www.dovecot.org/download.html