From: Ulrich Müller Date: Fri, 5 Jan 2018 17:01:37 +0000 (+0100) Subject: app-emulation/wine-d3d9: Test LINGUAS rather than linguas_* USE flags. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=2a6414f7ff7108731e9ce993137db96549fc1f0b;p=gentoo.git app-emulation/wine-d3d9: Test LINGUAS rather than linguas_* USE flags. Package-Manager: Portage-2.3.19, Repoman-2.3.6 --- diff --git a/app-emulation/wine-d3d9/wine-d3d9-2.0-r1.ebuild b/app-emulation/wine-d3d9/wine-d3d9-2.0-r1.ebuild index 8942399bdde4..a9f266933477 100644 --- a/app-emulation/wine-d3d9/wine-d3d9-2.0-r1.ebuild +++ b/app-emulation/wine-d3d9/wine-d3d9-2.0-r1.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 @@ -518,7 +518,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}" diff --git a/app-emulation/wine-d3d9/wine-d3d9-2.17-r1.ebuild b/app-emulation/wine-d3d9/wine-d3d9-2.17-r1.ebuild index 89a37fcf7162..025c48963fb4 100644 --- a/app-emulation/wine-d3d9/wine-d3d9-2.17-r1.ebuild +++ b/app-emulation/wine-d3d9/wine-d3d9-2.17-r1.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 @@ -520,7 +520,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}" diff --git a/app-emulation/wine-d3d9/wine-d3d9-2.18.ebuild b/app-emulation/wine-d3d9/wine-d3d9-2.18.ebuild index 339d78dd9057..da487c385dc3 100644 --- a/app-emulation/wine-d3d9/wine-d3d9-2.18.ebuild +++ b/app-emulation/wine-d3d9/wine-d3d9-2.18.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 @@ -516,7 +516,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}" diff --git a/app-emulation/wine-d3d9/wine-d3d9-2.19.ebuild b/app-emulation/wine-d3d9/wine-d3d9-2.19.ebuild index 339d78dd9057..da487c385dc3 100644 --- a/app-emulation/wine-d3d9/wine-d3d9-2.19.ebuild +++ b/app-emulation/wine-d3d9/wine-d3d9-2.19.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 @@ -516,7 +516,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}" diff --git a/app-emulation/wine-d3d9/wine-d3d9-9999.ebuild b/app-emulation/wine-d3d9/wine-d3d9-9999.ebuild index 339d78dd9057..da487c385dc3 100644 --- a/app-emulation/wine-d3d9/wine-d3d9-9999.ebuild +++ b/app-emulation/wine-d3d9/wine-d3d9-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 @@ -516,7 +516,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}"