Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/mesa/
Date: Thu, 28 Sep 2017 13:19:16
Message-Id: 1506604506.2e93c3f599c01ed54e1d6d062073993d14c47bd8.mgorny@gentoo
1 commit: 2e93c3f599c01ed54e1d6d062073993d14c47bd8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 17 08:57:20 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 28 13:15:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e93c3f5
7
8 media-libs/mesa: Move radeonsi dep to RDEP
9
10 Even if the relevant LLVM target is only strictly required
11 at build-time, mesa links to all targets anyway and removing any of them
12 will break link chain.
13
14 media-libs/mesa/mesa-9999.ebuild | 10 ++++------
15 1 file changed, 4 insertions(+), 6 deletions(-)
16
17 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
18 index d9a7ac09fcc..947195bb11a 100644
19 --- a/media-libs/mesa/mesa-9999.ebuild
20 +++ b/media-libs/mesa/mesa-9999.ebuild
21 @@ -144,6 +144,10 @@ RDEPEND="${RDEPEND}
22 llvm? (
23 video_cards_radeonsi? (
24 vulkan? ( >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] )
25 + || (
26 + sys-devel/llvm[llvm_targets_AMDGPU]
27 + sys-devel/llvm[video_cards_radeon]
28 + )
29 )
30 >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
31 )
32 @@ -153,12 +157,6 @@ RDEPEND="${RDEPEND}
33 # LLVM < 3.9 is out of the game
34 DEPEND="${RDEPEND}
35 ${PYTHON_DEPS}
36 - llvm? (
37 - video_cards_radeonsi? ( || (
38 - sys-devel/llvm[llvm_targets_AMDGPU]
39 - sys-devel/llvm[video_cards_radeon]
40 - ) )
41 - )
42 opencl? (
43 >=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
44 >=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]