1 |
jauhien 14/11/30 12:46:22 |
2 |
|
3 |
Modified: rust-bin-999.ebuild |
4 |
Log: |
5 |
support for rust-lldb symlink |
6 |
|
7 |
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB2EFA1D4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 dev-lang/rust-bin/rust-bin-999.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: rust-bin-999.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- rust-bin-999.ebuild 18 Oct 2014 12:50:48 -0000 1.1 |
23 |
+++ rust-bin-999.ebuild 30 Nov 2014 12:46:22 -0000 1.2 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild,v 1.1 2014/10/18 12:50:48 jauhien Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/rust-bin/rust-bin-999.ebuild,v 1.2 2014/11/30 12:46:22 jauhien Exp $ |
29 |
|
30 |
EAPI="5" |
31 |
|
32 |
@@ -16,7 +16,7 @@ |
33 |
|
34 |
IUSE="emacs vim-syntax zsh-completion" |
35 |
|
36 |
-CDEPEND=">=app-admin/eselect-rust-0.2_pre20141011 |
37 |
+CDEPEND=">=app-admin/eselect-rust-0.2_pre20141128 |
38 |
!dev-lang/rust:0 |
39 |
" |
40 |
DEPEND="${CDEPEND} |
41 |
@@ -51,11 +51,15 @@ |
42 |
|
43 |
local rustc=rustc-bin-${PV} |
44 |
local rustdoc=rustdoc-bin-${PV} |
45 |
+ local rustlldb=rust-lldb-bin-${PV} |
46 |
|
47 |
mv "${D}/opt/${P}/bin/rustc" "${D}/opt/${P}/bin/${rustc}" || die |
48 |
mv "${D}/opt/${P}/bin/rustdoc" "${D}/opt/${P}/bin/${rustdoc}" || die |
49 |
+ mv "${D}/opt/${P}/bin/rust-lldb" "${D}/opt/${P}/bin/${rustlldb}" || die |
50 |
+ |
51 |
dosym "/opt/${P}/bin/${rustc}" "/usr/bin/${rustc}" |
52 |
dosym "/opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}" |
53 |
+ dosym "/opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}" |
54 |
|
55 |
cat <<-EOF > "${T}"/50${P} |
56 |
LDPATH="/opt/${P}/lib" |
57 |
@@ -74,6 +78,11 @@ |
58 |
elog "and 'eselect rust set' to list and set rust version." |
59 |
elog "For more information see 'eselect rust help'" |
60 |
elog "and http://wiki.gentoo.org/wiki/Project:Eselect/User_guide" |
61 |
+ |
62 |
+ elog "Rust installs a helper script for calling LLDB now," |
63 |
+ elog "for your convenience it is installed under /usr/bin/rust-lldb-bin-${PV}," |
64 |
+ elog "but note, that there is no LLDB ebuild in the tree currently," |
65 |
+ elog "so you are on your own if you want to use it." |
66 |
} |
67 |
|
68 |
pkg_postrm() { |