Gentoo Archives: gentoo-commits

From: Nick Sarnie <sarnex@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/wine:master commit in: app-emulation/wine-staging/
Date: Tue, 01 Dec 2020 14:52:32
Message-Id: 1606834154.ab3d4382f0e16ddde08f8e3567d74011931bac7e.sarnex@gentoo
1 commit: ab3d4382f0e16ddde08f8e3567d74011931bac7e
2 Author: Mike Lothian <mike <AT> fireburn <DOT> co <DOT> uk>
3 AuthorDate: Tue Dec 1 14:44:42 2020 +0000
4 Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 14:49:14 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=ab3d4382
7
8 app-emulation/wine-staging: Pass CFLAGS to mingw
9
10 This requires setting CROSSCFLAGS
11
12 Signed-off-by: Mike Lothian <mike <AT> fireburn.co.uk>
13 Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>
14
15 .../{wine-staging-9999.ebuild => wine-staging-5.22-r2.ebuild} | 8 ++++++--
16 app-emulation/wine-staging/wine-staging-9999.ebuild | 3 +++
17 2 files changed, 9 insertions(+), 2 deletions(-)
18
19 diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-5.22-r2.ebuild
20 similarity index 99%
21 copy from app-emulation/wine-staging/wine-staging-9999.ebuild
22 copy to app-emulation/wine-staging/wine-staging-5.22-r2.ebuild
23 index df834fe..9d69e49 100644
24 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild
25 +++ b/app-emulation/wine-staging/wine-staging-5.22-r2.ebuild
26 @@ -448,6 +448,9 @@ src_configure() {
27
28 export LDCONFIG=/bin/true
29 use custom-cflags || strip-flags
30 + if use mingw; then
31 + export CROSSCFLAGS="${CFLAGS}"
32 + fi
33
34 multilib-minimal_src_configure
35 }
36 @@ -521,9 +524,10 @@ multilib_src_configure() {
37 $(use_with vaapi va)
38 )
39
40 - local PKG_CONFIG
41 + local PKG_CONFIG AR RANLIB
42 # Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
43 - tc-export PKG_CONFIG
44 + # set AR and RANLIB to make QA scripts happy; #483342
45 + tc-export PKG_CONFIG AR RANLIB
46
47 if use amd64; then
48 if [[ ${ABI} == amd64 ]]; then
49
50 diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild
51 index df834fe..89c3827 100644
52 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild
53 +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
54 @@ -448,6 +448,9 @@ src_configure() {
55
56 export LDCONFIG=/bin/true
57 use custom-cflags || strip-flags
58 + if use mingw; then
59 + export CROSSCFLAGS="${CFLAGS}"
60 + fi
61
62 multilib-minimal_src_configure
63 }