mail-client/mutt: change default locking mechanism to fcntl over flock

Package-Manager: portage-2.2.28
This commit is contained in:
Fabian Groffen
2016-06-16 14:18:24 +02:00
parent d17789432d
commit 7328ec3a99

View File

@@ -154,17 +154,10 @@ src_configure() {
--with-regex \
--with-exec-shell=${EPREFIX}/bin/sh"
case $CHOST in
*-solaris*)
# Solaris has no flock in the standard headers
myconf+=" --enable-fcntl --disable-flock"
# wchar_t depends on locale
myconf+=" --without-wc-funcs"
;;
*)
myconf+=" --disable-fcntl --enable-flock"
;;
esac
if [[ ${CHOST} == *-solaris* ]] ; then
# arrows in index view do not show when using wchar_t
myconf+=" --without-wc-funcs"
fi
# mutt prioritizes gdbm over bdb, so we will too.
# hcache feature requires at least one database is in USE.