summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-03-15 15:58:55 +0100
committerMichał Górny <mgorny@gentoo.org>2018-03-15 16:01:06 +0100
commitade5b255f1e8e69db29967e99da4282624334970 (patch)
treecf557d8e506fdeb0d022427f0a8265bca0631afe /sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild
parentapp-arch/zstd: arm stable wrt bug #634528 (diff)
downloadgentoo-ade5b255f1e8e69db29967e99da4282624334970.tar.gz
gentoo-ade5b255f1e8e69db29967e99da4282624334970.tar.bz2
gentoo-ade5b255f1e8e69db29967e99da4282624334970.zip
sys-libs/compiler-rt: fix eclass use by LLVM_SLOT -> LLVM_MAX_SLOT
Diffstat (limited to 'sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild')
-rw-r--r--sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild b/sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild
index 6efc90216769..e2c1ca0c415a 100644
--- a/sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild
+++ b/sys-libs/compiler-rt/compiler-rt-5.0.1.ebuild
@@ -19,14 +19,14 @@ SLOT="${PV%_*}"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="+clang test"
-LLVM_SLOT=${SLOT%%.*}
+LLVM_MAX_SLOT=${SLOT%%.*}
# llvm-4 needed for --cmakedir
DEPEND="
>=sys-devel/llvm-4
clang? ( sys-devel/clang )
test? (
$(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]")
- =sys-devel/clang-${PV%_*}*:${LLVM_SLOT} )
+ =sys-devel/clang-${PV%_*}*:${LLVM_MAX_SLOT} )
${PYTHON_DEPS}"
S=${WORKDIR}/${P/_/}.src
@@ -88,8 +88,8 @@ src_configure() {
mycmakeargs+=(
-DLIT_COMMAND="${EPREFIX}/usr/bin/lit"
- -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_SLOT}/bin/clang"
- -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_SLOT}/bin/clang++"
+ -DCOMPILER_RT_TEST_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_MAX_SLOT}/bin/clang"
+ -DCOMPILER_RT_TEST_CXX_COMPILER="${EPREFIX}/usr/lib/llvm/${LLVM_MAX_SLOT}/bin/clang++"
)
fi