diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-09-17 11:07:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-09-28 15:15:15 +0200 |
commit | 0c906c66adb27ef11b507b96b66d3c11fe8e3116 (patch) | |
tree | 5287b64430a715fb2fe0b2076fdc3082c7ab3995 /media-libs | |
parent | media-libs/mesa: Require LLVM 3.9.0+ (diff) | |
download | gentoo-0c906c66adb27ef11b507b96b66d3c11fe8e3116.tar.gz gentoo-0c906c66adb27ef11b507b96b66d3c11fe8e3116.tar.bz2 gentoo-0c906c66adb27ef11b507b96b66d3c11fe8e3116.zip |
media-libs/mesa: Deduplicate [opencl] deps
Since [opencl] requires [llvm], and additionally sys-devel/clang pulls
sys-devel/llvm in, there is really no reason for a separate [opencl]
block or a duplicate sys-devel/llvm dependency.
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/mesa/mesa-9999.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index 495b5a5e0b61..2a4e5faef0a8 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -142,15 +142,14 @@ RDEPEND="${RDEPEND} # simultaneously. RDEPEND="${RDEPEND} llvm? ( + opencl? ( + >=sys-devel/clang-3.9.0:=[${MULTILIB_USEDEP}] + ) video_cards_radeonsi? ( >=sys-devel/llvm-3.9.0[llvm_targets_AMDGPU(-)] ) >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] ) - opencl? ( - >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] - >=sys-devel/clang-3.9.0:=[${MULTILIB_USEDEP}] - ) " DEPEND="${RDEPEND} @@ -198,7 +197,7 @@ pkg_setup() { ewarn "detected! This can cause problems. For details, see bug 459306." fi - if use llvm || use opencl; then + if use llvm; then llvm_pkg_setup fi python-any-r1_pkg_setup |