commit:     8bb2c8555dfcbe03234fd9b9ca6b68ba68cc8754
Author:     Florian Schmaus <flo <AT> geekplace <DOT> eu>
AuthorDate: Mon Mar 22 16:55:01 2021 +0000
Commit:     Nick Sarnie <sarnex <AT> gentoo <DOT> org>
CommitDate: Tue Mar 23 21:11:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/wine.git/commit/?id=8bb2c855

app-emulation/wine-staging: remove redundant MERGE_TYPE check

Since wine_compiler_check() is only ever called in src_configured,
which is not invoked on binary merges, the MERGE_TYPE check in
wine_compiler_check() is redundant.

Signed-off-by: Florian Schmaus <flo <AT> geekplace.eu>
Reported-by: Göktürk Yüksek <gokturk <AT> gentoo.org>
Closes: https://github.com/gentoo/repo-proj-wine/pull/18
Signed-off-by: Nick Sarnie <sarnex <AT> gentoo.org>

 app-emulation/wine-staging/wine-staging-6.4.ebuild | 2 --
 1 file changed, 2 deletions(-)

diff --git a/app-emulation/wine-staging/wine-staging-6.4.ebuild 
b/app-emulation/wine-staging/wine-staging-6.4.ebuild
index 9bb1565..f88a6cd 100644
--- a/app-emulation/wine-staging/wine-staging-6.4.ebuild
+++ b/app-emulation/wine-staging/wine-staging-6.4.ebuild
@@ -181,8 +181,6 @@ if [[ ${#PATCHES_BIN[@]} -ge 1 ]] || [[ ${MY_PV} == 9999 
]]; then
 fi
 
 wine_compiler_check() {
-       [[ ${MERGE_TYPE} = "binary" ]] && return 0
-
        # GCC-specific bugs
        if tc-is-gcc; then
                # bug #549768

Reply via email to