diff options
author | NP-Hardass <NP-Hardass@gentoo.org> | 2016-12-30 17:40:38 -0500 |
---|---|---|
committer | NP-Hardass <NP-Hardass@gentoo.org> | 2016-12-30 17:42:35 -0500 |
commit | 493600f430ad8bdeb9b421b3ee4a3a18b556c552 (patch) | |
tree | 43cf9cc00162d872de5a2ad86fa02581925f2272 /app-emulation | |
parent | media-libs/atlas-c++: remove unused patches. (diff) | |
download | gentoo-493600f430ad8bdeb9b421b3ee4a3a18b556c552.tar.gz gentoo-493600f430ad8bdeb9b421b3ee4a3a18b556c552.tar.bz2 gentoo-493600f430ad8bdeb9b421b3ee4a3a18b556c552.zip |
app-emulation/wine: update to use multilib_foreach_abi in src_install
Uses multilib_foreach_abi to rm wineconsole now, so it should handle
systems with merged libdirs, as per mgorny's request.
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-emulation')
23 files changed, 92 insertions, 46 deletions
diff --git a/app-emulation/wine/wine-1.8-r3.ebuild b/app-emulation/wine/wine-1.8-r3.ebuild index 02b5c87249c7..696da26c13dd 100644 --- a/app-emulation/wine/wine-1.8-r3.ebuild +++ b/app-emulation/wine/wine-1.8-r3.ebuild @@ -485,8 +485,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.8.1-r3.ebuild b/app-emulation/wine/wine-1.8.1-r3.ebuild index 7c8a9ce3b60e..e1eb2098deb9 100644 --- a/app-emulation/wine/wine-1.8.1-r3.ebuild +++ b/app-emulation/wine/wine-1.8.1-r3.ebuild @@ -491,8 +491,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.8.2-r2.ebuild b/app-emulation/wine/wine-1.8.2-r2.ebuild index a13d73614fcc..522fd97225dd 100644 --- a/app-emulation/wine/wine-1.8.2-r2.ebuild +++ b/app-emulation/wine/wine-1.8.2-r2.ebuild @@ -491,8 +491,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.8.3-r1.ebuild b/app-emulation/wine/wine-1.8.3-r1.ebuild index eddb6f2807bb..429315cb8624 100644 --- a/app-emulation/wine/wine-1.8.3-r1.ebuild +++ b/app-emulation/wine/wine-1.8.3-r1.ebuild @@ -490,8 +490,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.8.4.ebuild b/app-emulation/wine/wine-1.8.4.ebuild index 0a8889290ad7..bc8d807a594e 100644 --- a/app-emulation/wine/wine-1.8.4.ebuild +++ b/app-emulation/wine/wine-1.8.4.ebuild @@ -489,8 +489,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.10-r3.ebuild b/app-emulation/wine/wine-1.9.10-r3.ebuild index 06559b172531..e268ad11cac6 100644 --- a/app-emulation/wine/wine-1.9.10-r3.ebuild +++ b/app-emulation/wine/wine-1.9.10-r3.ebuild @@ -509,8 +509,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.11-r3.ebuild b/app-emulation/wine/wine-1.9.11-r3.ebuild index 06559b172531..e268ad11cac6 100644 --- a/app-emulation/wine/wine-1.9.11-r3.ebuild +++ b/app-emulation/wine/wine-1.9.11-r3.ebuild @@ -509,8 +509,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.12-r2.ebuild b/app-emulation/wine/wine-1.9.12-r2.ebuild index 4d1c5ee9ada4..f8713ef13c45 100644 --- a/app-emulation/wine/wine-1.9.12-r2.ebuild +++ b/app-emulation/wine/wine-1.9.12-r2.ebuild @@ -509,8 +509,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.13-r2.ebuild b/app-emulation/wine/wine-1.9.13-r2.ebuild index 1f4a9c950dec..6cee7052b610 100644 --- a/app-emulation/wine/wine-1.9.13-r2.ebuild +++ b/app-emulation/wine/wine-1.9.13-r2.ebuild @@ -508,8 +508,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.14-r2.ebuild b/app-emulation/wine/wine-1.9.14-r2.ebuild index 1f4a9c950dec..6cee7052b610 100644 --- a/app-emulation/wine/wine-1.9.14-r2.ebuild +++ b/app-emulation/wine/wine-1.9.14-r2.ebuild @@ -508,8 +508,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.15-r1.ebuild b/app-emulation/wine/wine-1.9.15-r1.ebuild index 1f4a9c950dec..6cee7052b610 100644 --- a/app-emulation/wine/wine-1.9.15-r1.ebuild +++ b/app-emulation/wine/wine-1.9.15-r1.ebuild @@ -508,8 +508,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.16.ebuild b/app-emulation/wine/wine-1.9.16.ebuild index 1f4a9c950dec..6cee7052b610 100644 --- a/app-emulation/wine/wine-1.9.16.ebuild +++ b/app-emulation/wine/wine-1.9.16.ebuild @@ -508,8 +508,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.17.ebuild b/app-emulation/wine/wine-1.9.17.ebuild index 9e5e124a96a7..5e3df5f6faed 100644 --- a/app-emulation/wine/wine-1.9.17.ebuild +++ b/app-emulation/wine/wine-1.9.17.ebuild @@ -508,8 +508,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.18.ebuild b/app-emulation/wine/wine-1.9.18.ebuild index c90f2c9255e4..54f72c077876 100644 --- a/app-emulation/wine/wine-1.9.18.ebuild +++ b/app-emulation/wine/wine-1.9.18.ebuild @@ -508,8 +508,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.19-r1.ebuild b/app-emulation/wine/wine-1.9.19-r1.ebuild index 5c1f95b61bac..5eba6e1a5b42 100644 --- a/app-emulation/wine/wine-1.9.19-r1.ebuild +++ b/app-emulation/wine/wine-1.9.19-r1.ebuild @@ -510,8 +510,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.20.ebuild b/app-emulation/wine/wine-1.9.20.ebuild index 5c1f95b61bac..5eba6e1a5b42 100644 --- a/app-emulation/wine/wine-1.9.20.ebuild +++ b/app-emulation/wine/wine-1.9.20.ebuild @@ -510,8 +510,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.4-r3.ebuild b/app-emulation/wine/wine-1.9.4-r3.ebuild index 7b4221cb0274..ad953d14a371 100644 --- a/app-emulation/wine/wine-1.9.4-r3.ebuild +++ b/app-emulation/wine/wine-1.9.4-r3.ebuild @@ -488,8 +488,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.5-r3.ebuild b/app-emulation/wine/wine-1.9.5-r3.ebuild index 49b9dc78c43a..b0535821edb8 100644 --- a/app-emulation/wine/wine-1.9.5-r3.ebuild +++ b/app-emulation/wine/wine-1.9.5-r3.ebuild @@ -490,8 +490,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.6-r3.ebuild b/app-emulation/wine/wine-1.9.6-r3.ebuild index 186ee04c6675..fcfa5a0d7c2c 100644 --- a/app-emulation/wine/wine-1.9.6-r3.ebuild +++ b/app-emulation/wine/wine-1.9.6-r3.ebuild @@ -487,8 +487,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.7-r3.ebuild b/app-emulation/wine/wine-1.9.7-r3.ebuild index 186ee04c6675..fcfa5a0d7c2c 100644 --- a/app-emulation/wine/wine-1.9.7-r3.ebuild +++ b/app-emulation/wine/wine-1.9.7-r3.ebuild @@ -487,8 +487,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.8-r2.ebuild b/app-emulation/wine/wine-1.9.8-r2.ebuild index 278a370387fa..1c6bc3b2af9b 100644 --- a/app-emulation/wine/wine-1.9.8-r2.ebuild +++ b/app-emulation/wine/wine-1.9.8-r2.ebuild @@ -487,8 +487,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-1.9.9-r3.ebuild b/app-emulation/wine/wine-1.9.9-r3.ebuild index 919a4fa93260..16bdcb6e8a0f 100644 --- a/app-emulation/wine/wine-1.9.9-r3.ebuild +++ b/app-emulation/wine/wine-1.9.9-r3.ebuild @@ -509,8 +509,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 diff --git a/app-emulation/wine/wine-9999.ebuild b/app-emulation/wine/wine-9999.ebuild index 5c1f95b61bac..5eba6e1a5b42 100644 --- a/app-emulation/wine/wine-9999.ebuild +++ b/app-emulation/wine/wine-9999.ebuild @@ -510,8 +510,10 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D}"/usr/bin/wineconsole* || die rm "${D}"/usr/share/man/man1/wineconsole* || die - use abi_x86_32 && rm "${D}"/usr/lib32/wine/{,fakedlls/}wineconsole.exe* || die - use abi_x86_64 && rm "${D}"/usr/lib64/wine/{,fakedlls/}wineconsole.exe* || die + rm_wineconsole() { + rm "${D}usr/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die + } + multilib_foreach_abi rm_wineconsole fi use abi_x86_32 && pax-mark psmr "${D}"usr/bin/wine{,-preloader} #255055 |