commit:     be6e0043a41878ed56ba609da1ae6a03aea7157b
Author:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  2 19:53:40 2017 +0000
Commit:     Doug Goldstein <cardoe <AT> gentoo <DOT> org>
CommitDate: Thu Feb  2 20:04:01 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be6e0043

dev-util/cargo: fix build failure

Fixed build failure with a patch from Will Mortensen <will <AT> extrahop.com>.
This will cause cargo to use the proper snapshot to bootstrap itself.

Gentoo-Bug: 603898
Signed-off-by: Doug Goldstein <cardoe <AT> gentoo.org>

 dev-util/cargo/cargo-0.15.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/cargo/cargo-0.15.0.ebuild 
b/dev-util/cargo/cargo-0.15.0.ebuild
index 4dc1bf5..7f134b3 100644
--- a/dev-util/cargo/cargo-0.15.0.ebuild
+++ b/dev-util/cargo/cargo-0.15.0.ebuild
@@ -134,6 +134,7 @@ src_configure() {
                --host=${CTARGET}
                --build=${CTARGET}
                --target=${CTARGET}
+               --cargo="${WORKDIR}"/${P}/target/snapshot/bin/cargo
                --enable-optimize
 #              --release-channel stable
                --disable-verify-install

Reply via email to