commit:     498df1dda3c6b58d6f0f66ebd5a0a456533ae868
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 13 04:13:49 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Oct 13 04:13:49 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=498df1dd

dev-lang/rust: fix typo in path

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-lang/rust/rust-1.47.0-r1.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-lang/rust/rust-1.47.0-r1.ebuild 
b/dev-lang/rust/rust-1.47.0-r1.ebuild
index efefa29d01e..cd258a9cb85 100644
--- a/dev-lang/rust/rust-1.47.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.47.0-r1.ebuild
@@ -527,9 +527,10 @@ src_install() {
        done
 
        # symlinks to switch components to active rust in eselect
-       dosym "../../lib/${PN}/${PV}/share/doc" "/usr/share/doc/${P}"
-       dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
+       dosym "${PV}/lib" "/usr/lib/${PN}/lib-${PV}"
        dosym "${PV}/share/man" "/usr/lib/${PN}/man-${PV}"
+       dosym "rust/${PV}/lib/rustlib" "/usr/lib/rustlib-${PV}"
+       dosym "../../lib/${PN}/${PV}/share/doc" "/usr/share/doc/${P}"
 
        newenvd - "50${P}" <<-_EOF_
                LDPATH="${EPREFIX}/usr/lib/rust/lib"

Reply via email to