commit:     7328ec3a99b93a92aa0a741dca9c83d232f9802b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 16 12:18:24 2016 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu Jun 16 12:18:35 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7328ec3a

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

Package-Manager: portage-2.2.28

 mail-client/mutt/mutt-1.6.1-r2.ebuild | 15 ++++-----------
 1 file changed, 4 insertions(+), 11 deletions(-)

diff --git a/mail-client/mutt/mutt-1.6.1-r2.ebuild 
b/mail-client/mutt/mutt-1.6.1-r2.ebuild
index 4188245..2d0f8ea 100644
--- a/mail-client/mutt/mutt-1.6.1-r2.ebuild
+++ b/mail-client/mutt/mutt-1.6.1-r2.ebuild
@@ -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.

Reply via email to