commit:     b6aeb1cce5b8f6dd1c50f9c29852214da39a52d3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 30 07:45:36 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 30 07:52:43 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6aeb1cc

media-libs/mesa: Add missing LLVM_SLOT in llvm_check_deps()

Reported-by: Tim Harder <radhermit <AT> gentoo.org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 media-libs/mesa/mesa-18.3.6.ebuild | 4 ++--
 media-libs/mesa/mesa-19.0.6.ebuild | 4 ++--
 media-libs/mesa/mesa-19.0.7.ebuild | 4 ++--
 media-libs/mesa/mesa-19.0.8.ebuild | 4 ++--
 media-libs/mesa/mesa-19.1.0.ebuild | 4 ++--
 media-libs/mesa/mesa-19.1.1.ebuild | 4 ++--
 media-libs/mesa/mesa-9999.ebuild   | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/media-libs/mesa/mesa-18.3.6.ebuild 
b/media-libs/mesa/mesa-18.3.6.ebuild
index 307d5733e84..88a3f43e5c6 100644
--- a/media-libs/mesa/mesa-18.3.6.ebuild
+++ b/media-libs/mesa/mesa-18.3.6.ebuild
@@ -238,9 +238,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

diff --git a/media-libs/mesa/mesa-19.0.6.ebuild 
b/media-libs/mesa/mesa-19.0.6.ebuild
index 6e5cc0499b8..cb29e92acfb 100644
--- a/media-libs/mesa/mesa-19.0.6.ebuild
+++ b/media-libs/mesa/mesa-19.0.6.ebuild
@@ -242,9 +242,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

diff --git a/media-libs/mesa/mesa-19.0.7.ebuild 
b/media-libs/mesa/mesa-19.0.7.ebuild
index 6e5cc0499b8..cb29e92acfb 100644
--- a/media-libs/mesa/mesa-19.0.7.ebuild
+++ b/media-libs/mesa/mesa-19.0.7.ebuild
@@ -242,9 +242,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

diff --git a/media-libs/mesa/mesa-19.0.8.ebuild 
b/media-libs/mesa/mesa-19.0.8.ebuild
index 6e5cc0499b8..cb29e92acfb 100644
--- a/media-libs/mesa/mesa-19.0.8.ebuild
+++ b/media-libs/mesa/mesa-19.0.8.ebuild
@@ -242,9 +242,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

diff --git a/media-libs/mesa/mesa-19.1.0.ebuild 
b/media-libs/mesa/mesa-19.1.0.ebuild
index 20146f77c70..dc0cc0f2e6d 100644
--- a/media-libs/mesa/mesa-19.1.0.ebuild
+++ b/media-libs/mesa/mesa-19.1.0.ebuild
@@ -245,9 +245,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

diff --git a/media-libs/mesa/mesa-19.1.1.ebuild 
b/media-libs/mesa/mesa-19.1.1.ebuild
index d1efde2b6aa..0fd4ae716a5 100644
--- a/media-libs/mesa/mesa-19.1.1.ebuild
+++ b/media-libs/mesa/mesa-19.1.1.ebuild
@@ -247,9 +247,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index d1efde2b6aa..0fd4ae716a5 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -247,9 +247,9 @@ llvm_check_deps() {
        fi
 
        if use opencl; then
-               has_version "sys-devel/clang[${flags}]" || return 1
+               has_version "sys-devel/clang:${LLVM_SLOT}[${flags}]" || return 1
        fi
-       has_version "sys-devel/llvm[${flags}]"
+       has_version "sys-devel/llvm:${LLVM_SLOT}[${flags}]"
 }
 
 pkg_pretend() {

Reply via email to