app-emulation/lxd: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 18:52:36 +0000 (19:52 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 19:20:44 +0000 (20:20 +0100)
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

app-emulation/lxd/lxd-2.14-r1.ebuild

index 6229040f7ebccc9dc394ec943abc6e173c0fcf3b..85fcdff8d6406bff96885ac75f320ef6820056f8 100644 (file)
@@ -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