git: 51d264d1f2 - main - [phb]: Update Uses=ninja

Fernando Apesteguía <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=51d264d1f2a1f7439a0209888bbf3cdc60d38a6f

commit 51d264d1f2a1f7439a0209888bbf3cdc60d38a6f
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2023-04-03 06:56:49 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2023-04-03 13:21:49 +0000

    [phb]: Update Uses=ninja
    
    Document possible arguments.
---
 .../content/en/books/porters-handbook/uses/_index.adoc        | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/uses/_index.adoc b/documentation/content/en/books/porters-handbook/uses/_index.adoc
index 0985fd6bf6..5a357f42a7 100644
--- a/documentation/content/en/books/porters-handbook/uses/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/uses/_index.adoc
@@ -1328,9 +1328,14 @@ Adds support for Nextcloud applications by adding a run time dependency on packa
 [[uses-ninja]]
 == `ninja`
 
-Possible arguments: (none)
-
-Uses ninja to build the port.
+Possible arguments: (none), `build`, `make` (default), `run`
+
+If `build` or `run` arguments are specify, it respectively adds a build or run
+time dependency on package:devel/ninja[].
+If `make` or no arguments are provided, use ninja to build the port instead of make.
+`make` implies `build`.
+If the variable `NINJA_DEFAULT` is set to `samurai`, then the depedencies are set
+on package:devel/samurai[] instead.
 
 [[uses-nodejs]]
 == `nodejs`
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.