public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/indent/
Date: Mon, 13 Jan 2020 14:35:53 +0000 (UTC)	[thread overview]
Message-ID: <1578926149.98924e4fe01691f9244f52df913948f58b07c55a.jer@gentoo> (raw)

commit:     98924e4fe01691f9244f52df913948f58b07c55a
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 13 14:27:46 2020 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> 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 <jer <AT> 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() {


             reply	other threads:[~2020-01-13 14:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 14:35 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-11  6:52 [gentoo-commits] repo/gentoo:master commit in: dev-util/indent/ Petr Vaněk
2024-03-15 23:48 Mart Raudsepp
2024-03-15 22:36 Mart Raudsepp
2023-04-23 21:42 Sam James
2023-04-22 11:52 Sam James
2023-04-22 11:31 Sam James
2023-04-22 10:34 Arthur Zamarin
2023-04-22 10:34 Arthur Zamarin
2023-04-22 10:34 Arthur Zamarin
2023-03-22  3:46 Sam James
2022-04-19 23:40 Sam James
2021-06-30 10:15 Ulrich Müller
2021-02-02 19:42 Andreas Sturmlechner
2021-01-06 22:55 Fabian Groffen
2020-12-21  9:36 Sergei Trofimovich
2020-12-03  5:20 Sam James
2020-12-02  3:06 Thomas Deutschmann
2020-12-01 12:59 Sam James
2020-11-29 17:17 Sergei Trofimovich
2020-11-29 17:11 Sergei Trofimovich
2020-11-29 17:08 Sergei Trofimovich
2018-09-06 20:44 Jeroen Roovers
2018-01-05 22:02 Ulrich Müller
2015-09-19 10:10 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1578926149.98924e4fe01691f9244f52df913948f58b07c55a.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox