commit:     9d6b39dfbb68746b4cb9ab1e21158b8d6500660a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  5 17:00:44 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jan  5 17:02:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d6b39df

app-emulation/wine-any: Test LINGUAS rather than linguas_* USE flags.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-emulation/wine-any/wine-any-2.0-r1.ebuild  | 4 ++--
 app-emulation/wine-any/wine-any-2.17-r1.ebuild | 4 ++--
 app-emulation/wine-any/wine-any-2.18.ebuild    | 4 ++--
 app-emulation/wine-any/wine-any-2.19.ebuild    | 4 ++--
 app-emulation/wine-any/wine-any-9999.ebuild    | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-emulation/wine-any/wine-any-2.0-r1.ebuild 
b/app-emulation/wine-any/wine-any-2.0-r1.ebuild
index 67dca4e7ea2..a0326d42022 100644
--- a/app-emulation/wine-any/wine-any-2.0-r1.ebuild
+++ b/app-emulation/wine-any/wine-any-2.0-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
@@ -578,7 +578,7 @@ multilib_src_install_all() {
        # respect LINGUAS when installing man pages, #469418
        local l
        for l in de fr pl; do
-               use linguas_${l} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
+               has ${l} ${LINGUAS} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
        done
 
        eval "${glob_state}"

diff --git a/app-emulation/wine-any/wine-any-2.17-r1.ebuild 
b/app-emulation/wine-any/wine-any-2.17-r1.ebuild
index ee8cd13d580..7fede818fd0 100644
--- a/app-emulation/wine-any/wine-any-2.17-r1.ebuild
+++ b/app-emulation/wine-any/wine-any-2.17-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
@@ -580,7 +580,7 @@ multilib_src_install_all() {
        # respect LINGUAS when installing man pages, #469418
        local l
        for l in de fr pl; do
-               use linguas_${l} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
+               has ${l} ${LINGUAS} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
        done
 
        eval "${glob_state}"

diff --git a/app-emulation/wine-any/wine-any-2.18.ebuild 
b/app-emulation/wine-any/wine-any-2.18.ebuild
index 877992c4032..4167e592127 100644
--- a/app-emulation/wine-any/wine-any-2.18.ebuild
+++ b/app-emulation/wine-any/wine-any-2.18.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
@@ -576,7 +576,7 @@ multilib_src_install_all() {
        # respect LINGUAS when installing man pages, #469418
        local l
        for l in de fr pl; do
-               use linguas_${l} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
+               has ${l} ${LINGUAS} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
        done
 
        eval "${glob_state}"

diff --git a/app-emulation/wine-any/wine-any-2.19.ebuild 
b/app-emulation/wine-any/wine-any-2.19.ebuild
index 877992c4032..4167e592127 100644
--- a/app-emulation/wine-any/wine-any-2.19.ebuild
+++ b/app-emulation/wine-any/wine-any-2.19.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
@@ -576,7 +576,7 @@ multilib_src_install_all() {
        # respect LINGUAS when installing man pages, #469418
        local l
        for l in de fr pl; do
-               use linguas_${l} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
+               has ${l} ${LINGUAS} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
        done
 
        eval "${glob_state}"

diff --git a/app-emulation/wine-any/wine-any-9999.ebuild 
b/app-emulation/wine-any/wine-any-9999.ebuild
index 877992c4032..4167e592127 100644
--- a/app-emulation/wine-any/wine-any-9999.ebuild
+++ b/app-emulation/wine-any/wine-any-9999.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
@@ -576,7 +576,7 @@ multilib_src_install_all() {
        # respect LINGUAS when installing man pages, #469418
        local l
        for l in de fr pl; do
-               use linguas_${l} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
+               has ${l} ${LINGUAS} || rm -rf "${D%/}${MY_MANDIR}"/${l}*
        done
 
        eval "${glob_state}"

Reply via email to