commit:     b47918a7f9f549db3ed2e073223bfb10d482e943
Author:     Jonas Rakebrandt <xarblu <AT> protonmail <DOT> com>
AuthorDate: Thu Feb 26 14:50:32 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 27 03:51:51 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47918a7

llvm-r2.eclass: handle +* version suffix

Signed-off-by: Jonas Rakebrandt <xarblu <AT> protonmail.com>
Part-of: https://bugs.gentoo.org/948500
Closes: https://bugs.gentoo.org/948500
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 eclass/llvm-r2.eclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/eclass/llvm-r2.eclass b/eclass/llvm-r2.eclass
index 57018edc6819..f0b0493f83e3 100644
--- a/eclass/llvm-r2.eclass
+++ b/eclass/llvm-r2.eclass
@@ -1,4 +1,4 @@
-# Copyright 2024-2025 Gentoo Authors
+# Copyright 2024-2026 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: llvm-r2.eclass
@@ -275,6 +275,7 @@ generate_llvm_config() {
        # major + suffix
        local shlib_name=LLVM-${version%%.*}
        [[ ${version} == *git* ]] && shlib_name+="git${version##*git}"
+       [[ ${version} == *+* && ${shlib_name} != *+* ]] && 
shlib_name+="+${version##*+}"
 
        local components=(
                "${libs[@]#LLVM}" "${targets[@]}"

Reply via email to