From 2e93c3f599c01ed54e1d6d062073993d14c47bd8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 17 Sep 2017 10:57:20 +0200 Subject: [PATCH] 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 d9a7ac09fccf..947195bb11a7 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}] -- 2.26.2