1 |
commit: f5e8022123785a93b308c55cffb1d144daf38a97 |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 14 16:36:19 2018 +0000 |
4 |
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 14 16:36:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e80221 |
7 |
|
8 |
dev-lang/rust: fix problems with symlinking new binaries |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
dev-lang/rust/{rust-1.27.1-r1.ebuild => rust-1.27.1-r2.ebuild} | 10 ++++++++++ |
13 |
1 file changed, 10 insertions(+) |
14 |
|
15 |
diff --git a/dev-lang/rust/rust-1.27.1-r1.ebuild b/dev-lang/rust/rust-1.27.1-r2.ebuild |
16 |
similarity index 96% |
17 |
rename from dev-lang/rust/rust-1.27.1-r1.ebuild |
18 |
rename to dev-lang/rust/rust-1.27.1-r2.ebuild |
19 |
index 2ce91ade5ab..1dc2182f159 100644 |
20 |
--- a/dev-lang/rust/rust-1.27.1-r1.ebuild |
21 |
+++ b/dev-lang/rust/rust-1.27.1-r2.ebuild |
22 |
@@ -232,6 +232,16 @@ src_install() { |
23 |
/usr/bin/rust-gdb |
24 |
/usr/bin/rust-lldb |
25 |
EOF |
26 |
+ if use cargo; then |
27 |
+ echo /usr/bin/cargo >> "${T}/provider-${P}" |
28 |
+ fi |
29 |
+ if use rls; then |
30 |
+ echo /usr/bin/rls >> "${T}/provider-${P}" |
31 |
+ fi |
32 |
+ if use rustfmt; then |
33 |
+ echo /usr/bin/rustfmt >> "${T}/provider-${P}" |
34 |
+ echo /usr/bin/cargo-fmt >> "${T}/provider-${P}" |
35 |
+ fi |
36 |
dodir /etc/env.d/rust |
37 |
insinto /etc/env.d/rust |
38 |
doins "${T}/provider-${P}" |