summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2023-09-25 17:21:22 -0400
committerMatt Turner <mattst88@gentoo.org>2023-09-25 17:24:10 -0400
commit5d50956db21f37b3216f09df5149686eb43a76d8 (patch)
tree020fc3224a48e5c0be0cf7c68505a2046c71a377 /media-libs/mesa
parentprofiles/base: drop chromium llvm stable mask (diff)
downloadgentoo-5d50956db21f37b3216f09df5149686eb43a76d8.tar.gz
gentoo-5d50956db21f37b3216f09df5149686eb43a76d8.tar.bz2
gentoo-5d50956db21f37b3216f09df5149686eb43a76d8.zip
media-libs/mesa: Pass LLVM_MAX_SLOT to get_llvm_prefix
Closes: https://bugs.gentoo.org/914632 Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/mesa')
-rw-r--r--media-libs/mesa/mesa-23.2.0_rc4.ebuild2
-rw-r--r--media-libs/mesa/mesa-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-libs/mesa/mesa-23.2.0_rc4.ebuild b/media-libs/mesa/mesa-23.2.0_rc4.ebuild
index 1e9a747d40b1..aec9de0ef437 100644
--- a/media-libs/mesa/mesa-23.2.0_rc4.ebuild
+++ b/media-libs/mesa/mesa-23.2.0_rc4.ebuild
@@ -367,7 +367,7 @@ multilib_src_configure() {
fi
if use llvm && use opencl; then
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
+ PKG_CONFIG_PATH="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/$(get_libdir)/pkgconfig"
# See https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/rusticl.rst
emesonargs+=(
$(meson_native_true gallium-rusticl)
diff --git a/media-libs/mesa/mesa-9999.ebuild b/media-libs/mesa/mesa-9999.ebuild
index 17968a139f56..8a7607d2aa2e 100644
--- a/media-libs/mesa/mesa-9999.ebuild
+++ b/media-libs/mesa/mesa-9999.ebuild
@@ -368,7 +368,7 @@ multilib_src_configure() {
fi
if use llvm && use opencl; then
- PKG_CONFIG_PATH="$(get_llvm_prefix)/$(get_libdir)/pkgconfig"
+ PKG_CONFIG_PATH="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/$(get_libdir)/pkgconfig"
# See https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/docs/rusticl.rst
emesonargs+=(
$(meson_native_true gallium-rusticl)