commit: 8a81af4d27ea251c534cc1ffa6b4812f5950f706 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> AuthorDate: Thu Mar 19 22:17:13 2020 +0000 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> CommitDate: Thu Mar 19 22:30:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a81af4d
media-libs/mesa: Only call llvm_pkg_setup with USE="gallium llvm" Closes: https://bugs.gentoo.org/712896 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> media-libs/mesa/mesa-19.3.5.ebuild | 2 +- media-libs/mesa/mesa-20.0.1-r1.ebuild | 2 +- media-libs/mesa/mesa-20.0.2.ebuild | 2 +- media-libs/mesa/mesa-9999.ebuild | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-libs/mesa/mesa-19.3.5.ebuild b/media-libs/mesa/mesa-19.3.5.ebuild index ea716c993c1..e0d7de8eec7 100644 --- a/media-libs/mesa/mesa-19.3.5.ebuild +++ b/media-libs/mesa/mesa-19.3.5.ebuild @@ -325,7 +325,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 diff --git a/media-libs/mesa/mesa-20.0.1-r1.ebuild b/media-libs/mesa/mesa-20.0.1-r1.ebuild index 8997f8d06a3..e893b342e58 100644 --- a/media-libs/mesa/mesa-20.0.1-r1.ebuild +++ b/media-libs/mesa/mesa-20.0.1-r1.ebuild @@ -326,7 +326,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 diff --git a/media-libs/mesa/mesa-20.0.2.ebuild b/media-libs/mesa/mesa-20.0.2.ebuild index 8997f8d06a3..e893b342e58 100644 --- a/media-libs/mesa/mesa-20.0.2.ebuild +++ b/media-libs/mesa/mesa-20.0.2.ebuild @@ -326,7 +326,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 diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild index d6216736074..24b3afdd1fc 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
