From e5d9245dbc919fe129b1bf68ebd315408f2cf796 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sat, 10 Feb 2024 11:52:58 +0100 Subject: dev-ml/llvm-ocaml: Migrate to llvm-utils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-ml/llvm-ocaml/llvm-ocaml-18.1.0_rc2.ebuild | 9 +++------ dev-ml/llvm-ocaml/llvm-ocaml-19.0.0.9999.ebuild | 9 +++------ dev-ml/llvm-ocaml/llvm-ocaml-19.0.0_pre20240203.ebuild | 9 +++------ 3 files changed, 9 insertions(+), 18 deletions(-) (limited to 'dev-ml') diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-18.1.0_rc2.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-18.1.0_rc2.ebuild index 8c4bee7af2e9..879c30db0807 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-18.1.0_rc2.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-18.1.0_rc2.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} diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0.9999.ebuild index 8c4bee7af2e9..879c30db0807 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0.9999.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-19.0.0.9999.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} 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-65-gdbad