mail-client/mutt: change default locking mechanism to fcntl over flock
authorFabian Groffen <grobian@gentoo.org>
Thu, 16 Jun 2016 12:18:24 +0000 (14:18 +0200)
committerFabian Groffen <grobian@gentoo.org>
Thu, 16 Jun 2016 12:18:35 +0000 (14:18 +0200)
Package-Manager: portage-2.2.28

mail-client/mutt/mutt-1.6.1-r2.ebuild

index 4188245f947e6ce77b212ad86fa4afcbcc480882..2d0f8ea95b89b63e999ccca2cc6a30ba2845bb18 100644 (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.