From: Ulrich Müller Date: Fri, 5 Jan 2018 18:38:17 +0000 (+0100) Subject: app-emulation/wine: Test LINGUAS rather than linguas_* USE flags. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=87b860d31dd7b90aa2796826e68371f2a7be81b6;p=gentoo.git 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 --- diff --git a/app-emulation/wine/wine-2.0.ebuild b/app-emulation/wine/wine-2.0.ebuild index b2848daab085..73721746d2dd 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 f7450c265f27..d1c5a92109e9 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 f7450c265f27..d1c5a92109e9 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 f7450c265f27..d1c5a92109e9 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 bf71ab62790f..42e616b03a93 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 }