summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-03-09 08:13:15 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2021-03-09 08:13:27 +0000
commit022895498bca0c30fdf4f2468f847bab43c05b3a (patch)
treedf50c368b42c3794830a1f1cfeccecf7a54e375f /dev-lang/crystal
parentmedia-libs/harfbuzz: Moved python deps to BDEPEND (diff)
downloadgentoo-022895498bca0c30fdf4f2468f847bab43c05b3a.tar.gz
gentoo-022895498bca0c30fdf4f2468f847bab43c05b3a.tar.bz2
gentoo-022895498bca0c30fdf4f2468f847bab43c05b3a.zip
dev-lang/crystal: tweak for llvm-11.1
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-lang/crystal')
-rw-r--r--dev-lang/crystal/crystal-0.36.1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-lang/crystal/crystal-0.36.1.ebuild b/dev-lang/crystal/crystal-0.36.1.ebuild
index 31b5378f2b33..03283fb4e71d 100644
--- a/dev-lang/crystal/crystal-0.36.1.ebuild
+++ b/dev-lang/crystal/crystal-0.36.1.ebuild
@@ -73,6 +73,7 @@ src_compile() {
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
AR=$(tc-getAR) \
+ LLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" \
\
PATH="${bootstrap_path}:${PATH}" \
CRYSTAL_PATH=src \
@@ -95,6 +96,7 @@ src_test() {
CC=$(tc-getCC) \
CXX=$(tc-getCXX) \
AR=$(tc-getAR) \
+ LLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config" \
\
CRYSTAL_PATH=src \
CRYSTAL_CONFIG_VERSION=${PV} \