From f5e8022123785a93b308c55cffb1d144daf38a97 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Sat, 14 Jul 2018 18:36:19 +0200 Subject: [PATCH] dev-lang/rust: fix problems with symlinking new binaries Package-Manager: Portage-2.3.40, Repoman-2.3.9 --- .../{rust-1.27.1-r1.ebuild => rust-1.27.1-r2.ebuild} | 10 ++++++++++ 1 file changed, 10 insertions(+) rename dev-lang/rust/{rust-1.27.1-r1.ebuild => rust-1.27.1-r2.ebuild} (96%) diff --git a/dev-lang/rust/rust-1.27.1-r1.ebuild b/dev-lang/rust/rust-1.27.1-r2.ebuild similarity index 96% rename from dev-lang/rust/rust-1.27.1-r1.ebuild rename to dev-lang/rust/rust-1.27.1-r2.ebuild index 2ce91ade5abb..1dc2182f159c 100644 --- a/dev-lang/rust/rust-1.27.1-r1.ebuild +++ b/dev-lang/rust/rust-1.27.1-r2.ebuild @@ -232,6 +232,16 @@ src_install() { /usr/bin/rust-gdb /usr/bin/rust-lldb EOF + if use cargo; then + echo /usr/bin/cargo >> "${T}/provider-${P}" + fi + if use rls; then + echo /usr/bin/rls >> "${T}/provider-${P}" + fi + if use rustfmt; then + echo /usr/bin/rustfmt >> "${T}/provider-${P}" + echo /usr/bin/cargo-fmt >> "${T}/provider-${P}" + fi dodir /etc/env.d/rust insinto /etc/env.d/rust doins "${T}/provider-${P}" -- 2.26.2