From: Michał Górny Date: Sun, 17 Sep 2017 08:57:20 +0000 (+0200) Subject: media-libs/mesa: Move radeonsi dep to RDEP X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2e93c3f599c01ed54e1d6d062073993d14c47bd8;p=gentoo.git 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. --- 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}]