commit:     53123145d790b74aad2a4a8bb3cbfb7c64c1040f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 19:34:29 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 19:37:25 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53123145

media-libs/mesa: Bind LLVM deps to <4 (= slot 0) in 17.1.10

Closes: https://bugs.gentoo.org/640650
Closes: https://bugs.gentoo.org/641908

 media-libs/mesa/mesa-17.1.10.ebuild | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/media-libs/mesa/mesa-17.1.10.ebuild 
b/media-libs/mesa/mesa-17.1.10.ebuild
index 935abcb79a1..1f6c5085909 100644
--- a/media-libs/mesa/mesa-17.1.10.ebuild
+++ b/media-libs/mesa/mesa-17.1.10.ebuild
@@ -98,7 +98,7 @@ RDEPEND="
        llvm? (
                video_cards_radeonsi? (
                        virtual/libelf:0=[${MULTILIB_USEDEP}]
-                       vulkan? ( >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] )
+                       vulkan? ( >=sys-devel/llvm-3.9.0:0=[${MULTILIB_USEDEP}] 
)
                )
                video_cards_r600? (
                        virtual/libelf:0=[${MULTILIB_USEDEP}]
@@ -106,7 +106,7 @@ RDEPEND="
                video_cards_radeon? (
                        virtual/libelf:0=[${MULTILIB_USEDEP}]
                )
-               >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
+               >=sys-devel/llvm-3.6.0:0=[${MULTILIB_USEDEP}]
        )
        opencl? (
                                app-eselect/eselect-opencl
@@ -144,13 +144,13 @@ DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        llvm? (
                video_cards_radeonsi? ( || (
-                       sys-devel/llvm[llvm_targets_AMDGPU]
-                       sys-devel/llvm[video_cards_radeon]
+                       sys-devel/llvm:0[llvm_targets_AMDGPU]
+                       sys-devel/llvm:0[video_cards_radeon]
                ) )
        )
        opencl? (
-                               >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
-                               >=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]
+                               >=sys-devel/llvm-3.6.0:0=[${MULTILIB_USEDEP}]
+                               >=sys-devel/clang-3.6.0:0=[${MULTILIB_USEDEP}]
                                >=sys-devel/gcc-4.6
        )
        sys-devel/gettext
@@ -188,7 +188,7 @@ x86? (
 
 pkg_setup() {
        # warning message for bug 459306
-       if use llvm && has_version sys-devel/llvm[!debug=]; then
+       if use llvm && has_version "sys-devel/llvm:0[!debug=]"; then
                ewarn "Mismatch between debug USE flags in media-libs/mesa and 
sys-devel/llvm"
                ewarn "detected! This can cause problems. For details, see bug 
459306."
        fi

Reply via email to