commit: 2e93c3f599c01ed54e1d6d062073993d14c47bd8
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 17 08:57:20 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Sep 28 13:15:06 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e93c3f5
media-libs/mesa: Move radeonsi dep to RDEP
Even if the relevant LLVM target is only strictly required
at build-time, mesa links to all targets anyway and removing any of them
will break link chain.
media-libs/mesa/mesa-9999.ebuild | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index d9a7ac09fcc..947195bb11a 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -144,6 +144,10 @@ RDEPEND="${RDEPEND}
llvm? (
video_cards_radeonsi? (
vulkan? ( >=sys-devel/llvm-3.9.0:=[${MULTILIB_USEDEP}] )
+ || (
+ sys-devel/llvm[llvm_targets_AMDGPU]
+ sys-devel/llvm[video_cards_radeon]
+ )
)
>=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
)
@@ -153,12 +157,6 @@ RDEPEND="${RDEPEND}
# LLVM < 3.9 is out of the game
DEPEND="${RDEPEND}
${PYTHON_DEPS}
- llvm? (
- video_cards_radeonsi? ( || (
- sys-devel/llvm[llvm_targets_AMDGPU]
- sys-devel/llvm[video_cards_radeon]
- ) )
- )
opencl? (
>=sys-devel/llvm-3.6.0:=[${MULTILIB_USEDEP}]
>=sys-devel/clang-3.6.0:=[${MULTILIB_USEDEP}]