summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-05 19:52:36 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-05 20:20:44 +0100
commit7711ff179dad6ff5da301ae616b43a24817bffa6 (patch)
treea8b7c8c72a3eaa5128fda95610f07fed5af35356
parentmedia-libs/mesa-17.2.7: alpha stable, bug 641024 (diff)
downloadgentoo-7711ff179dad6ff5da301ae616b43a24817bffa6.zip
gentoo-7711ff179dad6ff5da301ae616b43a24817bffa6.tar.gz
gentoo-7711ff179dad6ff5da301ae616b43a24817bffa6.tar.bz2
app-emulation/lxd: Test LINGUAS rather than linguas_* USE flags.
This affects the stable lxd-2.14-r1.ebuild only, because newer versions don't inherit l10n.eclass. Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--app-emulation/lxd/lxd-2.14-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-emulation/lxd/lxd-2.14-r1.ebuild b/app-emulation/lxd/lxd-2.14-r1.ebuild
index 6229040..85fcdff 100644
--- a/app-emulation/lxd/lxd-2.14-r1.ebuild
+++ b/app-emulation/lxd/lxd-2.14-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -167,7 +167,7 @@ src_install() {
if use nls; then
for lingua in ${PLOCALES}; do
- if use linguas_${lingua}; then
+ if has ${lingua} ${LINGUAS-${lingua}}; then
domo po/${lingua}.mo
fi
done