From 7400e9202e26cc7b8c4ed63a39f232a7aaf3d112 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Sun, 16 Dec 2018 12:08:32 +0000 Subject: [PATCH] Mk/Uses/cargo.mk: Fix install for Rust 2018 edition applications `cargo install` currently fails with: error: Using `cargo install` to install the binaries for the package in current working directory is no longer supported, use `cargo install --path .` instead. Also see https://github.com/rust-lang/cargo/issues/5327 git-svn-id: svn+ssh://svn.freebsd.org/ports/head@487583 35697150-7ecd-e111-bb59-0022644237b5 --- Mk/Uses/cargo.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index 7de5502e859d..d9d989ddeb97 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -251,6 +251,7 @@ do-build: .if !target(do-install) && ${CARGO_INSTALL:tl} == "yes" do-install: @${CARGO_CARGO_RUN} install \ + --path . \ --root "${STAGEDIR}${PREFIX}" \ --verbose \ ${CARGO_INSTALL_ARGS}