commit:     998666036e59200210d442094bbfceb07b7b8c8b
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 12 08:46:50 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Jul 12 18:09:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99866603

app-emulation/wine-staging: backport AR RANLIB handling from wine-vanilla

Before the change binutils-config[-native-symlinks] build failed
in attempt to use unprefixed `ar`. The fix is present in wine-vanilla
for a while.

This change backports it to wine-staging.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/21609
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 app-emulation/wine-staging/wine-staging-6.12.ebuild | 5 ++---
 app-emulation/wine-staging/wine-staging-9999.ebuild | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/app-emulation/wine-staging/wine-staging-6.12.ebuild 
b/app-emulation/wine-staging/wine-staging-6.12.ebuild
index 9f66da3e67f..77c35e15d93 100644
--- a/app-emulation/wine-staging/wine-staging-6.12.ebuild
+++ b/app-emulation/wine-staging/wine-staging-6.12.ebuild
@@ -528,10 +528,9 @@ multilib_src_configure() {
                $(use_with vaapi va)
        )
 
-       local PKG_CONFIG AR RANLIB
+       local PKG_CONFIG
        # Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on 
amd64; #472038
-       # set AR and RANLIB to make QA scripts happy; #483342
-       tc-export PKG_CONFIG AR RANLIB
+       tc-export PKG_CONFIG
 
        if use amd64; then
                if [[ ${ABI} == amd64 ]]; then

diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild 
b/app-emulation/wine-staging/wine-staging-9999.ebuild
index 5fa92704696..97f1f417626 100644
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
@@ -528,10 +528,9 @@ multilib_src_configure() {
                $(use_with vaapi va)
        )
 
-       local PKG_CONFIG AR RANLIB
+       local PKG_CONFIG
        # Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on 
amd64; #472038
-       # set AR and RANLIB to make QA scripts happy; #483342
-       tc-export PKG_CONFIG AR RANLIB
+       tc-export PKG_CONFIG
 
        if use amd64; then
                if [[ ${ABI} == amd64 ]]; then

Reply via email to