From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 6E0A3138350 for ; Mon, 13 Jan 2020 14:35:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8F811E0CED; Mon, 13 Jan 2020 14:35:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 6EFF3E0CED for ; Mon, 13 Jan 2020 14:35:57 +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 EE9EE34DE56 for ; Mon, 13 Jan 2020 14:35:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79D7B2A for ; Mon, 13 Jan 2020 14:35:53 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1578926149.98924e4fe01691f9244f52df913948f58b07c55a.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/indent/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/indent/indent-2.2.12.ebuild X-VCS-Directories: dev-util/indent/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 98924e4fe01691f9244f52df913948f58b07c55a X-VCS-Branch: master Date: Mon, 13 Jan 2020 14:35:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3cf8b250-f1fb-423b-bd5d-7db1bcac6ad0 X-Archives-Hash: 4aebfefcc2cf1fcc84245f4a13071eb7 commit: 98924e4fe01691f9244f52df913948f58b07c55a Author: Jeroen Roovers gentoo org> AuthorDate: Mon Jan 13 14:27:46 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Mon Jan 13 14:35:49 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98924e4f dev-util/indent: Fix USE=-nls Package-Manager: Portage-2.3.84, Repoman-2.3.20 Closes: https://bugs.gentoo.org/666108 Signed-off-by: Jeroen Roovers gentoo.org> dev-util/indent/indent-2.2.12.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-util/indent/indent-2.2.12.ebuild b/dev-util/indent/indent-2.2.12.ebuild index a8d9e29f1f6..6ba9d6e6fd5 100644 --- a/dev-util/indent/indent-2.2.12.ebuild +++ b/dev-util/indent/indent-2.2.12.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -30,7 +30,14 @@ src_prepare() { src_configure() { strip-linguas -i po/ - gl_cv_cc_vis_werror=no econf $(use_enable nls) + if use nls; then + gl_cv_cc_vis_werror=no \ + econf $(use_enable nls) + else + ac_cv_func_setlocale=no \ + gl_cv_cc_vis_werror=no \ + econf $(use_enable nls) + fi } src_test() {