commit: 14deadb457c34a5f053217b4fa0bc720209973ba Author: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> AuthorDate: Thu Dec 3 07:25:35 2020 +0000 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> CommitDate: Fri Dec 4 02:35:10 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=14deadb4
app-emulation/wine-vanilla: adjust path to wineconsole removal Bug: https://bugs.gentoo.org/757999 Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org> app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild | 14 +++++++++++--- app-emulation/wine-vanilla/wine-vanilla-9999.ebuild | 14 +++++++++++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild index 05ef8ff..ff9a439 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild @@ -505,9 +505,17 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die - rm_wineconsole() { - rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die - } + + if ! use mingw; then + rm_wineconsole() { + rm "${D%/}/usr/$(get_libdir)/wine-${WINE_VARIANT}"/wine/{,fakedlls/}wineconsole.exe* || die + } + else + rm_wineconsole() { + rm "${D%/}/usr/$(get_libdir)/wine-${WINE_VARIANT}"/wine/wineconsole.exe* || die + } + fi + multilib_foreach_abi rm_wineconsole fi diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild index 05ef8ff..ff9a439 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild @@ -505,9 +505,17 @@ multilib_src_install_all() { if ! use X && ! use ncurses; then rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die - rm_wineconsole() { - rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die - } + + if ! use mingw; then + rm_wineconsole() { + rm "${D%/}/usr/$(get_libdir)/wine-${WINE_VARIANT}"/wine/{,fakedlls/}wineconsole.exe* || die + } + else + rm_wineconsole() { + rm "${D%/}/usr/$(get_libdir)/wine-${WINE_VARIANT}"/wine/wineconsole.exe* || die + } + fi + multilib_foreach_abi rm_wineconsole fi
