app-emulation/wine-staging: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 16:55:25 +0000 (17:55 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 17:02:27 +0000 (18:02 +0100)
Closes: https://bugs.gentoo.org/643576
Package-Manager: Portage-2.3.19, Repoman-2.3.6

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

index 29be96989078e598e110aeb30c9de742dc240d8c..f8180e99d4c1cf3be888de55014fbbb1abc0bc65 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
@@ -555,7 +555,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 095835fb6e006873368bcb1f2068b901bd5c8eac..cf964bbe35548d577edf7f6ea09c47153cdc988a 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
@@ -557,7 +557,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 7234eab807387a5e0663167a63c2eaf7646b5956..5f84d5f63d75c9056978013c2dccbfa49d180382 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
@@ -553,7 +553,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 7234eab807387a5e0663167a63c2eaf7646b5956..5f84d5f63d75c9056978013c2dccbfa49d180382 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
@@ -553,7 +553,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 7234eab807387a5e0663167a63c2eaf7646b5956..5f84d5f63d75c9056978013c2dccbfa49d180382 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
@@ -553,7 +553,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}"