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