commit:     5d50956db21f37b3216f09df5149686eb43a76d8
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 25 21:21:22 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Mon Sep 25 21:24:10 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d50956d

media-libs/mesa: Pass LLVM_MAX_SLOT to get_llvm_prefix

Closes: https://bugs.gentoo.org/914632
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 media-libs/mesa/mesa-23.2.0_rc4.ebuild | 2 +-
 media-libs/mesa/mesa-9999.ebuild       | 2 +-
 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)

Reply via email to