commit:     87b860d31dd7b90aa2796826e68371f2a7be81b6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  5 18:38:17 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jan  5 18:38:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87b860d3

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

Fix package.masked wine ebuilds too, for completeness.

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 app-emulation/wine/wine-2.0.ebuild  | 4 ++--
 app-emulation/wine/wine-2.1.ebuild  | 4 ++--
 app-emulation/wine/wine-2.2.ebuild  | 4 ++--
 app-emulation/wine/wine-2.3.ebuild  | 4 ++--
 app-emulation/wine/wine-9999.ebuild | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-emulation/wine/wine-2.0.ebuild 
b/app-emulation/wine/wine-2.0.ebuild
index b2848daab08..73721746d2d 100644
--- a/app-emulation/wine/wine-2.0.ebuild
+++ b/app-emulation/wine/wine-2.0.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
@@ -421,7 +421,7 @@ multilib_src_install_all() {
 
        # respect LINGUAS when installing man pages, #469418
        for l in de fr pl; do
-               use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
+               has ${l} ${LINGUAS-${l}} || rm -r "${D}"usr/share/man/${l}*
        done
 }
 

diff --git a/app-emulation/wine/wine-2.1.ebuild 
b/app-emulation/wine/wine-2.1.ebuild
index f7450c265f2..d1c5a92109e 100644
--- a/app-emulation/wine/wine-2.1.ebuild
+++ b/app-emulation/wine/wine-2.1.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
@@ -550,7 +550,7 @@ multilib_src_install_all() {
 
        # respect LINGUAS when installing man pages, #469418
        for l in de fr pl; do
-               use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
+               has ${l} ${LINGUAS-${l}} || rm -r "${D}"usr/share/man/${l}*
        done
 }
 

diff --git a/app-emulation/wine/wine-2.2.ebuild 
b/app-emulation/wine/wine-2.2.ebuild
index f7450c265f2..d1c5a92109e 100644
--- a/app-emulation/wine/wine-2.2.ebuild
+++ b/app-emulation/wine/wine-2.2.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
@@ -550,7 +550,7 @@ multilib_src_install_all() {
 
        # respect LINGUAS when installing man pages, #469418
        for l in de fr pl; do
-               use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
+               has ${l} ${LINGUAS-${l}} || rm -r "${D}"usr/share/man/${l}*
        done
 }
 

diff --git a/app-emulation/wine/wine-2.3.ebuild 
b/app-emulation/wine/wine-2.3.ebuild
index f7450c265f2..d1c5a92109e 100644
--- a/app-emulation/wine/wine-2.3.ebuild
+++ b/app-emulation/wine/wine-2.3.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
@@ -550,7 +550,7 @@ multilib_src_install_all() {
 
        # respect LINGUAS when installing man pages, #469418
        for l in de fr pl; do
-               use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
+               has ${l} ${LINGUAS-${l}} || rm -r "${D}"usr/share/man/${l}*
        done
 }
 

diff --git a/app-emulation/wine/wine-9999.ebuild 
b/app-emulation/wine/wine-9999.ebuild
index bf71ab62790..42e616b03a9 100644
--- a/app-emulation/wine/wine-9999.ebuild
+++ b/app-emulation/wine/wine-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
@@ -549,7 +549,7 @@ multilib_src_install_all() {
 
        # respect LINGUAS when installing man pages, #469418
        for l in de fr pl; do
-               use linguas_${l} || rm -r "${D}"usr/share/man/${l}*
+               has ${l} ${LINGUAS-${l}} || rm -r "${D}"usr/share/man/${l}*
        done
 }
 

Reply via email to