From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-887530-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 47D5D1382BD
	for <garchives@archives.gentoo.org>; Thu, 16 Jun 2016 12:21:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6371FE098A;
	Thu, 16 Jun 2016 12:21:02 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C89DCE098A
	for <gentoo-commits@lists.gentoo.org>; Thu, 16 Jun 2016 12:21:00 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id ABA08340662
	for <gentoo-commits@lists.gentoo.org>; Thu, 16 Jun 2016 12:20:59 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AB1A983
	for <gentoo-commits@lists.gentoo.org>; Thu, 16 Jun 2016 12:20:56 +0000 (UTC)
From: "Fabian Groffen" <grobian@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" <grobian@gentoo.org>
Message-ID: <1466079515.7328ec3a99b93a92aa0a741dca9c83d232f9802b.grobian@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/mutt/
X-VCS-Repository: repo/gentoo
X-VCS-Files: mail-client/mutt/mutt-1.6.1-r2.ebuild
X-VCS-Directories: mail-client/mutt/
X-VCS-Committer: grobian
X-VCS-Committer-Name: Fabian Groffen
X-VCS-Revision: 7328ec3a99b93a92aa0a741dca9c83d232f9802b
X-VCS-Branch: master
Date: Thu, 16 Jun 2016 12:20:56 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: a7d37629-620c-47fc-9fff-bdd4b44eec0e
X-Archives-Hash: fa84237b1870ff703afd3d42c12af71a

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.