Browse Source

dovecot: improved to be able to cross-compile

stable/0.6
Christian Wiese 11 years ago
parent
commit
fcee21e44b
  1. 20
      mail/dovecot/dovecot.conf
  2. 2
      mail/dovecot/dovecot.desc

20
mail/dovecot/dovecot.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../dovecot/dovecot.conf # 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. # 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. # GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END --- # --- 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 # install development headers by default
var_append confopt ' ' "--enable-header-install" var_append confopt ' ' "--enable-header-install"

2
mail/dovecot/dovecot.desc

@ -34,7 +34,7 @@
[L] LGPL MIT [L] LGPL MIT
[S] Stable [S] Stable
[V] 2.2.10 [V] 2.2.10
[P] X -----5---9 194.300 [P] X -?---5---9 194.300
[CV-URL] http://www.dovecot.org/download.html [CV-URL] http://www.dovecot.org/download.html

Loading…
Cancel
Save