app-emulation/wine: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 18:38:17 +0000 (19:38 +0100)
committerUlrich Müller <ulm@gentoo.org>
Fri, 5 Jan 2018 18:38:57 +0000 (19:38 +0100)
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
app-emulation/wine/wine-2.1.ebuild
app-emulation/wine/wine-2.2.ebuild
app-emulation/wine/wine-2.3.ebuild
app-emulation/wine/wine-9999.ebuild

index b2848daab085f9d4e1c032cf62cb9005508a409b..73721746d2ddd04fe52653a7a9c48b67ea7564f3 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
@@ -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
 }
 
index f7450c265f271685b3392e2f4b5574f38b36b5b0..d1c5a92109e9ef43cb07714c9ee3c5f2eac4df08 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
@@ -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
 }
 
index f7450c265f271685b3392e2f4b5574f38b36b5b0..d1c5a92109e9ef43cb07714c9ee3c5f2eac4df08 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
@@ -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
 }
 
index f7450c265f271685b3392e2f4b5574f38b36b5b0..d1c5a92109e9ef43cb07714c9ee3c5f2eac4df08 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
@@ -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
 }
 
index bf71ab62790f05ca20b48457d73bb4a048b87e85..42e616b03a9326a8221004bbef69e370abc212d2 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
@@ -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
 }