From 0bb42730e8fc9c8e571f12e3189c6c6f8d532c24 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 10 Feb 2024 17:34:25 +0000 Subject: gentoo auto-resync : 10:02:2024 - 17:34:25 --- dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild') diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild index 8c4bee7af2e9..879c30db0807 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild @@ -4,7 +4,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit cmake llvm llvm.org python-any-r1 +inherit cmake llvm.org llvm-utils python-any-r1 DESCRIPTION="OCaml bindings for LLVM" HOMEPAGE="https://llvm.org/" @@ -34,12 +34,9 @@ LLVM_COMPONENTS=( llvm cmake third-party ) LLVM_USE_TARGETS=llvm llvm.org_set_globals -pkg_setup() { - LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup - python-any-r1_pkg_setup -} - src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + local libdir=$(get_libdir) local mycmakeargs=( -DLLVM_LIBDIR_SUFFIX=${libdir#lib} -- cgit v1.2.3