summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2020-03-19 15:17:13 -0700
committerMatt Turner <mattst88@gentoo.org>2020-03-19 15:30:43 -0700
commit8a81af4d27ea251c534cc1ffa6b4812f5950f706 (patch)
tree5c734f43896d6663ef4c4d0658f3730fe19c277b /media-libs/mesa
parentx11-misc/xkeyboard-config: Use python-any-r1 (diff)
downloadgentoo-8a81af4d27ea251c534cc1ffa6b4812f5950f706.tar.gz
gentoo-8a81af4d27ea251c534cc1ffa6b4812f5950f706.tar.bz2
gentoo-8a81af4d27ea251c534cc1ffa6b4812f5950f706.zip
media-libs/mesa: Only call llvm_pkg_setup with USE="gallium llvm"
Closes: https://bugs.gentoo.org/712896 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/mesa-19.3.5.ebuild2
-rw-r--r--media-libs/mesa/mesa-20.0.1-r1.ebuild2
-rw-r--r--media-libs/mesa/mesa-20.0.2.ebuild2
-rw-r--r--media-libs/mesa/mesa-9999.ebuild2
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 ea716c993c10..e0d7de8eec77 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 8997f8d06a37..e893b342e588 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 8997f8d06a37..e893b342e588 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 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