commit:     2545315b72db35e7eca9741106429a0727bbaf3d
Author:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
AuthorDate: Tue Dec  1 14:53:24 2020 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Tue Dec  1 14:55:00 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2545315b

app-emulation/wine-vanilla: Sync with ::wine

Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 .../{wine-vanilla-9999.ebuild => wine-vanilla-5.22-r2.ebuild}          | 3 +++
 app-emulation/wine-vanilla/wine-vanilla-9999.ebuild                    | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild
similarity index 99%
copy from app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
copy to app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild
index a422ff77cdc..05ef8ffca0c 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-5.22-r2.ebuild
@@ -382,6 +382,9 @@ src_configure() {
 
        export LDCONFIG=/bin/true
        use custom-cflags || strip-flags
+       if use mingw; then
+               export CROSSCFLAGS="${CFLAGS}"
+       fi
 
        multilib-minimal_src_configure
 }

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index a422ff77cdc..05ef8ffca0c 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -382,6 +382,9 @@ src_configure() {
 
        export LDCONFIG=/bin/true
        use custom-cflags || strip-flags
+       if use mingw; then
+               export CROSSCFLAGS="${CFLAGS}"
+       fi
 
        multilib-minimal_src_configure
 }

Reply via email to