Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/lxd/
Date: Fri, 05 Jan 2018 19:21:15
Message-Id: 1515180044.7711ff179dad6ff5da301ae616b43a24817bffa6.ulm@gentoo
1 commit: 7711ff179dad6ff5da301ae616b43a24817bffa6
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 5 18:52:36 2018 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 5 19:20:44 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7711ff17
7
8 app-emulation/lxd: Test LINGUAS rather than linguas_* USE flags.
9
10 This affects the stable lxd-2.14-r1.ebuild only, because newer
11 versions don't inherit l10n.eclass.
12
13 Package-Manager: Portage-2.3.19, Repoman-2.3.6
14
15 app-emulation/lxd/lxd-2.14-r1.ebuild | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 diff --git a/app-emulation/lxd/lxd-2.14-r1.ebuild b/app-emulation/lxd/lxd-2.14-r1.ebuild
19 index 6229040f7eb..85fcdff8d64 100644
20 --- a/app-emulation/lxd/lxd-2.14-r1.ebuild
21 +++ b/app-emulation/lxd/lxd-2.14-r1.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2017 Gentoo Foundation
24 +# Copyright 1999-2018 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28 @@ -167,7 +167,7 @@ src_install() {
29
30 if use nls; then
31 for lingua in ${PLOCALES}; do
32 - if use linguas_${lingua}; then
33 + if has ${lingua} ${LINGUAS-${lingua}}; then
34 domo po/${lingua}.mo
35 fi
36 done