commit:     36218e79c3ea8c66574905cc24dc3deb2175e795
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 09:00:07 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 13:15:09 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36218e79

media-libs/mesa: Move clang dep for [opencl] to RDEP

The relevant libraries clearly link to libclang*.

 media-libs/mesa/mesa-9999.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 947195bb11a..4aef2f2d5a8 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -151,6 +151,10 @@ RDEPEND="${RDEPEND}
                )
                >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
        )
+       opencl? (
+               >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
+               >=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]
+       )
 "
 
 # FIXME: kill the sys-devel/llvm[video_cards_radeon] compat once
@@ -158,9 +162,7 @@ RDEPEND="${RDEPEND}
 DEPEND="${RDEPEND}
        ${PYTHON_DEPS}
        opencl? (
-                               >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
-                               >=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]
-                               >=sys-devel/gcc-4.6
+               >=sys-devel/gcc-4.6
        )
        sys-devel/gettext
        virtual/pkgconfig

Reply via email to