dev-util/cargo: fix build failure
authorDoug Goldstein <cardoe@gentoo.org>
Thu, 2 Feb 2017 19:53:40 +0000 (13:53 -0600)
committerDoug Goldstein <cardoe@gentoo.org>
Thu, 2 Feb 2017 20:04:01 +0000 (14:04 -0600)
Fixed build failure with a patch from Will Mortensen <will@extrahop.com>.
This will cause cargo to use the proper snapshot to bootstrap itself.

Gentoo-Bug: 603898
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
dev-util/cargo/cargo-0.15.0.ebuild

index 4dc1bf59412f397e6cc82185e30ec6ea6f9e17cf..7f134b34782b3fc2147cc4a9a4907e2d700824fc 100644 (file)
@@ -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