dev-libs/opencl-clang: pass $LLVM_MAX_SLOT to get_llvm_prefix()
authorMarek Szuba <marecki@gentoo.org>
Mon, 7 Oct 2019 12:13:12 +0000 (13:13 +0100)
committerMarek Szuba <marecki@gentoo.org>
Mon, 7 Oct 2019 12:22:43 +0000 (13:22 +0100)
commitedfe01afc3718d43fd5c00dd9aefa56416a84898
treef1f792e8acf630341e5ad7cf0580a6b54c4b33e2
parent885b963b08f778c64845bf8ac28575129dccfb35
dev-libs/opencl-clang: pass $LLVM_MAX_SLOT to get_llvm_prefix()

When invoked without max_slot, get_llvm_prefix() iterates over *all*
LLVM slots known to llvm.eclass - including those exceeding LLVM_MAX_SLOT.
As a consequence, an ebuild can e.g. end up getting installed into llvm:9
directories in spite of having been linked against llvm:8.

Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki@gentoo.org>
dev-libs/opencl-clang/opencl-clang-8.0.1_p20191001-r1.ebuild [new file with mode: 0644]