x11-misc/vym: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 19:11:38 +0000 (20:11 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 19:21:03 +0000 (20:21 +0100)
This is only a quick fix for now. On the long term, consider migrating
from LINGUAS to L10N.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

x11-misc/vym/vym-2.6.11.ebuild
x11-misc/vym/vym-2.6.8.ebuild

index 6fabe03a5ff978d889ba97069a24c0650df1dbef..5a6721089991cedc5d225b5ed0db8c3a449b9ca7 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
@@ -34,10 +34,10 @@ DOCS=( README.md doc/vym.pdf )
 src_prepare() {
        default
 
-       if use linguas_es ; then
+       if has es ${LINGUAS-es} ; then
                DOCS+=( doc/vym_es.pdf )
        fi
-       if use linguas_fr ; then
+       if has fr ${LINGUAS-fr} ; then
                DOCS+=( doc/vym_fr.pdf )
        fi
 
index 6fabe03a5ff978d889ba97069a24c0650df1dbef..5a6721089991cedc5d225b5ed0db8c3a449b9ca7 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
@@ -34,10 +34,10 @@ DOCS=( README.md doc/vym.pdf )
 src_prepare() {
        default
 
-       if use linguas_es ; then
+       if has es ${LINGUAS-es} ; then
                DOCS+=( doc/vym_es.pdf )
        fi
-       if use linguas_fr ; then
+       if has fr ${LINGUAS-fr} ; then
                DOCS+=( doc/vym_fr.pdf )
        fi