commit:     bce6b540deae1d2ba0b0ecec0c07b573c2d0b8bc
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 29 20:25:36 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jul 29 20:55:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce6b540

media-libs/mesa: Fix logic error

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-20.0.8.ebuild | 6 +++---
 media-libs/mesa/mesa-20.1.4.ebuild | 6 +++---
 media-libs/mesa/mesa-9999.ebuild   | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/media-libs/mesa/mesa-20.0.8.ebuild 
b/media-libs/mesa/mesa-20.0.8.ebuild
index 8f36372581b..f8e02ddc8cd 100644
--- a/media-libs/mesa/mesa-20.0.8.ebuild
+++ b/media-libs/mesa/mesa-20.0.8.ebuild
@@ -334,9 +334,9 @@ pkg_setup() {
                ewarn "detected! This can cause problems. For details, see bug 
459306."
        fi
 
-       if ! use video_cards_i965 &&
-          ! use video_cards_iris &&
-          ! use video_cards_radeonsi; then
+       if use video_cards_i965 ||
+          use video_cards_iris ||
+          use video_cards_radeonsi; then
                CONFIG_CHECK="~CHECKPOINT_RESTORE"
                linux-info_pkg_setup
        fi

diff --git a/media-libs/mesa/mesa-20.1.4.ebuild 
b/media-libs/mesa/mesa-20.1.4.ebuild
index db0a161452c..058a206a5ff 100644
--- a/media-libs/mesa/mesa-20.1.4.ebuild
+++ b/media-libs/mesa/mesa-20.1.4.ebuild
@@ -334,9 +334,9 @@ pkg_setup() {
                ewarn "detected! This can cause problems. For details, see bug 
459306."
        fi
 
-       if ! use video_cards_i965 &&
-          ! use video_cards_iris &&
-          ! use video_cards_radeonsi; then
+       if use video_cards_i965 ||
+          use video_cards_iris ||
+          use video_cards_radeonsi; then
                CONFIG_CHECK="~CHECKPOINT_RESTORE"
                linux-info_pkg_setup
        fi

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 1e78bcd122f..01dccc1bdd2 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -333,9 +333,9 @@ pkg_setup() {
                ewarn "detected! This can cause problems. For details, see bug 
459306."
        fi
 
-       if ! use video_cards_i965 &&
-          ! use video_cards_iris &&
-          ! use video_cards_radeonsi; then
+       if use video_cards_i965 ||
+          use video_cards_iris ||
+          use video_cards_radeonsi; then
                CONFIG_CHECK="~CHECKPOINT_RESTORE"
                linux-info_pkg_setup
        fi

Reply via email to