From: Ulrich Müller Date: Fri, 5 Jan 2018 18:52:36 +0000 (+0100) Subject: app-emulation/lxd: Test LINGUAS rather than linguas_* USE flags. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7711ff179dad6ff5da301ae616b43a24817bffa6;p=gentoo.git 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 --- diff --git a/app-emulation/lxd/lxd-2.14-r1.ebuild b/app-emulation/lxd/lxd-2.14-r1.ebuild index 6229040f7ebc..85fcdff8d640 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