app-emulation/wine-any: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 17:00:44 +0000 (18:00 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 17:02:28 +0000 (18:02 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

app-emulation/wine-any/wine-any-2.0-r1.ebuild
app-emulation/wine-any/wine-any-2.17-r1.ebuild
app-emulation/wine-any/wine-any-2.18.ebuild
app-emulation/wine-any/wine-any-2.19.ebuild
app-emulation/wine-any/wine-any-9999.ebuild

index 67dca4e7ea21cafd6c8c3d0134c7cb6ecc35e27b..a0326d42022f8f0f586052deb9037292174844ca 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
@@ -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}"
index ee8cd13d580a4c881164d83c7789948a11c0b764..7fede818fd04d2079662e9640bbf6b655d27dd02 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
@@ -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}"
index 877992c403214455c1425362402e1eff0f9b7322..4167e592127e4ed9ae810e27aba57775ceb5f2a9 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
@@ -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}"
index 877992c403214455c1425362402e1eff0f9b7322..4167e592127e4ed9ae810e27aba57775ceb5f2a9 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
@@ -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}"
index 877992c403214455c1425362402e1eff0f9b7322..4167e592127e4ed9ae810e27aba57775ceb5f2a9 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
@@ -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}"