1 |
commit: 99a0c54af8f1af1ce9a7db8d99d595276ccb581c |
2 |
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 12 19:47:06 2017 +0000 |
4 |
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 12 19:49:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99a0c54a |
7 |
|
8 |
dev-libs/libclc: fix llvm-config path. |
9 |
|
10 |
clang path can be ccache-based, but llvm-config is not hooked by ccache, |
11 |
so find it better ourselves. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/show_bug.cgi?id=624034 |
14 |
Package-Manager: portage-2.3.6 |
15 |
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> |
16 |
|
17 |
dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild | 6 +----- |
18 |
1 file changed, 1 insertion(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild |
21 |
index c0ac06980cb..003757a0998 100644 |
22 |
--- a/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild |
23 |
+++ b/dev-libs/libclc/libclc-0.2.0_pre20170118.ebuild |
24 |
@@ -39,13 +39,9 @@ DEPEND="${RDEPEND} |
25 |
${PYTHON_DEPS}" |
26 |
|
27 |
src_configure() { |
28 |
- # we need to find llvm with matching clang version, so look for |
29 |
- # clang first, and then use llvm-config from the same location |
30 |
- local clang_path=$(type -P clang) || die |
31 |
- |
32 |
./configure.py \ |
33 |
--with-cxx-compiler="$(tc-getCXX)" \ |
34 |
- --with-llvm-config="${clang_path%/*}/llvm-config" \ |
35 |
+ --with-llvm-config="$(tc-getPROG LLVM_CONFIG llvm-config)" \ |
36 |
--prefix="${EPREFIX}/usr" || die |
37 |
} |