commit:     c9906f02e80c2a2c1063554181bfded2e2305a9b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 10:08:24 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 10:35:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9906f02

app-emulation/wine-vanilla: fix finding wine-mono on prefix

Technically needs a revbump, but given never got a bug report despite
being broken since forever I'll consider this low priority.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-vanilla/wine-vanilla-7.0.2.ebuild   | 6 +++++-
 app-emulation/wine-vanilla/wine-vanilla-8.0.1.ebuild   | 6 +++++-
 app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild   | 6 +++++-
 app-emulation/wine-vanilla/wine-vanilla-8.11-r1.ebuild | 6 +++++-
 app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild    | 6 +++++-
 app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild    | 6 +++++-
 app-emulation/wine-vanilla/wine-vanilla-9999.ebuild    | 6 +++++-
 7 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.0.2.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-7.0.2.ebuild
index 4d829d97e488..31bb2a4e7fdf 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-7.0.2.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-7.0.2.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.2
 WINE_MONO=7.0.0
@@ -173,6 +174,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.0.1.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-8.0.1.ebuild
index d5628d792348..289ad34feeb6 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.0.1.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.0.1.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.3
 WINE_MONO=7.4.0
@@ -171,6 +172,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
index 0731f2e45161..155c0a95a312 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.0.2.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.3
 WINE_MONO=7.4.0
@@ -171,6 +172,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.11-r1.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-8.11-r1.ebuild
index fa39aa0fc4f2..28ee8cb167cc 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.11-r1.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.11-r1.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -175,6 +176,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild
index fa39aa0fc4f2..28ee8cb167cc 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.12.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -175,6 +176,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
index 54c3aae2b8c1..76983615cd38 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-8.13.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -182,6 +183,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index 54c3aae2b8c1..76983615cd38 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
-inherit autotools flag-o-matic multilib multilib-build toolchain-funcs wrapper
+inherit autotools flag-o-matic multilib multilib-build
+inherit prefix toolchain-funcs wrapper
 
 WINE_GECKO=2.47.4
 WINE_MONO=8.0.0
@@ -182,6 +183,9 @@ src_prepare() {
        # ensure .desktop calls this variant + slot
        sed -i "/^Exec=/s/wine /${P} /" loader/wine.desktop || die
 
+       # datadir is not where wine-mono is installed, so prefixy alternate 
paths
+       hprefixify -w /get_mono_path/ dlls/mscoree/metahost.c
+
        # always update for patches (including user's wrt #432348)
        eautoreconf
        tools/make_requests || die # perl

Reply via email to