Page MenuHomeFreeBSD

D21253.id60994.diff
No OneTemporary

D21253.id60994.diff

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 @@
</sect2>
<sect2 xml:id="using-cargo">
- <title>Using <command>cargo</command></title>
+ <title>Building <application>Rust</application> Applications
+ with <command>cargo</command></title>
<para>For ports that use <application>Cargo</application>,
define <literal>USES=cargo</literal>.</para>
@@ -1105,19 +1106,13 @@
=> rust/crates/bitflags-1.0.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
[...]</screen>
- <para>The working directory currently only contains the
- application sources we extracted as part of the
- <command>make cargo-crates</command> step. Before
- attempting to build the port the working directory
- must be cleaned, so that the crate sources can be
- extracted into <varname>CARGO_VENDOR_DIR</varname>:</para>
-
- <screen>&prompt.user; <userinput>make clean</userinput>
-===> Cleaning for tokei-7.0.2</screen>
-
<para>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.</para>
+
+ <para>If you are not testing your port in a clean environment
+ like with <application>Poudriere</application>, remember to
+ run <command>make clean</command> before any testing.</para>
</example>
<example xml:id="cargo-ex2">

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 15, 11:44 AM (1 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29688992
Default Alt Text
D21253.id60994.diff (1 KB)

Event Timeline