pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/doc



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Apr 21 20:33:14 UTC 2026

Modified Files:
        pkgsrc/doc: pkgsrc.html pkgsrc.txt

Log Message:
doc/pkgsrc.*: regen


To generate a diff of this commit:
cvs rdiff -u -r1.392 -r1.393 pkgsrc/doc/pkgsrc.html
cvs rdiff -u -r1.390 -r1.391 pkgsrc/doc/pkgsrc.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/doc/pkgsrc.html
diff -u pkgsrc/doc/pkgsrc.html:1.392 pkgsrc/doc/pkgsrc.html:1.393
--- pkgsrc/doc/pkgsrc.html:1.392        Fri Apr 10 08:44:25 2026
+++ pkgsrc/doc/pkgsrc.html      Tue Apr 21 20:33:14 2026
@@ -8831,9 +8831,11 @@ gnu++03, gnu++11, gnu++14, gnu++17, gnu+
     have the package include
     <code class="filename">../../lang/rust/cargo.mk</code>.</p>
 <div class="orderedlist"><ol class="orderedlist" type="1">
-<li class="listitem"><p>Generate a list of those dependencies with
-      <span class="command"><strong>make CARGO_ARGS="build --release" build &amp;&amp;
-      make print-cargo-depends &gt; cargo-depends.mk</strong></span>.</p></li>
+<li class="listitem"><p>It will usually depend on a lot of other code
+      (distributed in so-called crates). Generate a list of those
+      dependencies with <span class="command"><strong>make extract &amp;&amp; make
+      print-cargo-depends &gt;
+      cargo-depends.mk</strong></span>.</p></li>
 <li class="listitem"><p>Prepend
       <code class="literal">.include "cargo-depends.mk"</code> to any other
       <code class="literal">.include</code>s.</p></li>

Index: pkgsrc/doc/pkgsrc.txt
diff -u pkgsrc/doc/pkgsrc.txt:1.390 pkgsrc/doc/pkgsrc.txt:1.391
--- pkgsrc/doc/pkgsrc.txt:1.390 Fri Apr 10 08:44:25 2026
+++ pkgsrc/doc/pkgsrc.txt       Tue Apr 21 20:33:14 2026
@@ -7048,8 +7048,9 @@ have the package include ../../lang/go/g
 If a program is written in Rust and uses Cargo to build, have the package
 include ../../lang/rust/cargo.mk.
 
- 1. Generate a list of those dependencies with make CARGO_ARGS="build
-    --release" build && make print-cargo-depends > cargo-depends.mk.
+ 1. It will usually depend on a lot of other code (distributed in so-called
+    crates). Generate a list of those dependencies with make extract && make
+    print-cargo-depends > cargo-depends.mk.
 
  2. Prepend .include "cargo-depends.mk" to any other .includes.
 



Home | Main Index | Thread Index | Old Index