From 8a81af4d27ea251c534cc1ffa6b4812f5950f706 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Thu, 19 Mar 2020 15:17:13 -0700 Subject: media-libs/mesa: Only call llvm_pkg_setup with USE="gallium llvm" Closes: https://bugs.gentoo.org/712896 Signed-off-by: Matt Turner --- media-libs/mesa/mesa-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media-libs/mesa/mesa-9999.ebuild') diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index d62167360742..24b3afdd1fcb 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -327,7 +327,7 @@ pkg_setup() { ewarn "detected! This can cause problems. For details, see bug 459306." fi - if use llvm; then + if use gallium && use llvm; then llvm_pkg_setup fi python-any-r1_pkg_setup -- cgit v1.2.3-65-gdbad