From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1036220-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id E9377138334
	for <garchives@archives.gentoo.org>; Sat, 14 Jul 2018 16:36:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id F3D37E0ADE;
	Sat, 14 Jul 2018 16:36:47 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C62F1E0ADE
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jul 2018 16:36:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 46B4A335C99
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jul 2018 16:36:45 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 29F6D358
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jul 2018 16:36:43 +0000 (UTC)
From: "Dirkjan Ochtman" <djc@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Dirkjan Ochtman" <djc@gentoo.org>
Message-ID: <1531586194.f5e8022123785a93b308c55cffb1d144daf38a97.djc@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/rust/rust-1.27.1-r1.ebuild dev-lang/rust/rust-1.27.1-r2.ebuild
X-VCS-Directories: dev-lang/rust/
X-VCS-Committer: djc
X-VCS-Committer-Name: Dirkjan Ochtman
X-VCS-Revision: f5e8022123785a93b308c55cffb1d144daf38a97
X-VCS-Branch: master
Date: Sat, 14 Jul 2018 16:36:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: e5b7fa46-4759-41e0-9483-aea14678335e
X-Archives-Hash: a1a230d9debfcc0b0580c941a5137dd7

commit:     f5e8022123785a93b308c55cffb1d144daf38a97
Author:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 14 16:36:19 2018 +0000
Commit:     Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sat Jul 14 16:36:34 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5e80221

dev-lang/rust: fix problems with symlinking new binaries

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/rust/{rust-1.27.1-r1.ebuild => rust-1.27.1-r2.ebuild} | 10 ++++++++++
 1 file changed, 10 insertions(+)

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 2ce91ade5ab..1dc2182f159 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}"