summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-01-13 15:27:46 +0100
committerJeroen Roovers <jer@gentoo.org>2020-01-13 15:35:49 +0100
commit98924e4fe01691f9244f52df913948f58b07c55a (patch)
tree259555304ba6b5ec5ebb36a4701fa95280d74caa /dev-util
parentsys-kernel/gentoo-kernel-bin: Bump to 4.19.95 (diff)
downloadgentoo-98924e4fe01691f9244f52df913948f58b07c55a.tar.gz
gentoo-98924e4fe01691f9244f52df913948f58b07c55a.tar.bz2
gentoo-98924e4fe01691f9244f52df913948f58b07c55a.zip
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@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/indent/indent-2.2.12.ebuild11
1 files 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 a8d9e29f1f6b..6ba9d6e6fd5e 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() {