From: Michał Górny Date: Wed, 15 Feb 2017 21:06:54 +0000 (+0100) Subject: media-libs/mesa: Fix uncond call to llvm_pkg_setup, #608536 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=8887e178a3f5bbd7a8959a4bbd6a0282cb698659;p=gentoo.git media-libs/mesa: Fix uncond call to llvm_pkg_setup, #608536 --- diff --git a/media-libs/mesa/mesa-17.0.0.ebuild b/media-libs/mesa/mesa-17.0.0.ebuild index b35f0bc5ef27..d6d58afc0dd6 100644 --- a/media-libs/mesa/mesa-17.0.0.ebuild +++ b/media-libs/mesa/mesa-17.0.0.ebuild @@ -201,7 +201,9 @@ pkg_setup() { ewarn "detected! This can cause problems. For details, see bug 459306." fi - LLVM_MAX_SLOT=4 llvm_pkg_setup + if use llvm || use opencl; then + LLVM_MAX_SLOT=4 llvm_pkg_setup + fi python-any-r1_pkg_setup } diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index fe87f66a7bdf..2f05b05d304b 100644 --- a/media-libs/mesa/mesa-9999.ebuild +++ b/media-libs/mesa/mesa-9999.ebuild @@ -188,7 +188,9 @@ pkg_setup() { ewarn "detected! This can cause problems. For details, see bug 459306." fi - llvm_pkg_setup + if use llvm || use opencl; then + llvm_pkg_setup + fi python-any-r1_pkg_setup }