From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1283386-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id D32BF1382C5
	for <garchives@archives.gentoo.org>; Mon, 17 May 2021 22:36:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 1EE5AE079E;
	Mon, 17 May 2021 22:36:08 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id F411AE079E
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 May 2021 22:36:07 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 012CE335D8B
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 May 2021 22:36:07 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 91C0D632
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 May 2021 22:36:05 +0000 (UTC)
From: "Sam James" <sam@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, "Sam James" <sam@gentoo.org>
Message-ID: <1621290861.76fd9a568aadd3c7ade9674efe34844a59581267.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/dialog/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/dialog/dialog-1.3.20210324.ebuild
X-VCS-Directories: dev-util/dialog/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 76fd9a568aadd3c7ade9674efe34844a59581267
X-VCS-Branch: master
Date: Mon, 17 May 2021 22:36:05 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: ddce882e-7836-47e3-b544-c786e808ad59
X-Archives-Hash: 932b55982650432fa7f7daabea80e811

commit:     76fd9a568aadd3c7ade9674efe34844a59581267
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May 16 21:24:14 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 17 22:34:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fd9a56

dev-util/dialog: fix Darwin install

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/dialog/dialog-1.3.20210324.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-util/dialog/dialog-1.3.20210324.ebuild b/dev-util/dialog/dialog-1.3.20210324.ebuild
index 49c4faca403..c6096507149 100644
--- a/dev-util/dialog/dialog-1.3.20210324.ebuild
+++ b/dev-util/dialog/dialog-1.3.20210324.ebuild
@@ -22,11 +22,16 @@ BDEPEND="!minimal? ( sys-devel/libtool )"
 
 src_prepare() {
 	default
+
 	sed -i -e '/LIB_CREATE=/s:${CC}:& ${LDFLAGS}:g' configure || die
 	sed -i '/$(LIBTOOL_COMPILE)/s:$: $(LIBTOOL_OPTS):' makefile.in || die
 }
 
 src_configure() {
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		export ac_cv_prog_LIBTOOL=glibtool
+	fi
+
 	econf \
 		--disable-rpath-hack \
 		$(use_enable nls) \