Index: head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml =================================================================== --- head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml +++ head/en_US.ISO8859-1/books/porters-handbook/special/chapter.xml @@ -819,7 +819,8 @@ - Using <command>cargo</command> + Building <application>Rust</application> Applications + with <command>cargo</command> For ports that use Cargo, define USES=cargo. @@ -1105,19 +1106,13 @@ => rust/crates/bitflags-1.0.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. [...] - The working directory currently only contains the - application sources we extracted as part of the - make cargo-crates step. Before - attempting to build the port the working directory - must be cleaned, so that the crate sources can be - extracted into CARGO_VENDOR_DIR: - - &prompt.user; make clean -===> Cleaning for tokei-7.0.2 - The port is now ready for a test build and further adjustments like creating a plist, writing a description, adding license information, options, etc. as normal. + + If you are not testing your port in a clean environment + like with Poudriere, remember to + run make clean before any testing.