commit:     91d6be1c9c74cdcb8da1a05f57b1f4ed1ef79d72
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  7 16:36:29 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Oct  7 16:41:25 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d6be1c

dev-ml/llvm-ocaml: Use the new version vars

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild        | 2 +-
 dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild        | 2 +-
 dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild
index 3f682163a64b..aa9cc673f048 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild
@@ -37,7 +37,7 @@ LLVM_USE_TARGETS=llvm
 llvm.org_set_globals
 
 pkg_setup() {
-       LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
+       LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
        python-any-r1_pkg_setup
 }
 

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild
index 3f682163a64b..aa9cc673f048 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild
@@ -37,7 +37,7 @@ LLVM_USE_TARGETS=llvm
 llvm.org_set_globals
 
 pkg_setup() {
-       LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
+       LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
        python-any-r1_pkg_setup
 }
 

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild
index 3f682163a64b..aa9cc673f048 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild
@@ -37,7 +37,7 @@ LLVM_USE_TARGETS=llvm
 llvm.org_set_globals
 
 pkg_setup() {
-       LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
+       LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
        python-any-r1_pkg_setup
 }
 

Reply via email to