Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2023 15:22:20 GMT
From:      =?utf-8?Q?Fernando=20Apestegu=C3=ADa?= <fernape@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 51d264d1f2 - main - [phb]: Update Uses=ninja
Message-ID:  <202304031522.333FMK0j028635@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fernape:

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

commit 51d264d1f2a1f7439a0209888bbf3cdc60d38a6f
Author:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
AuthorDate: 2023-04-03 06:56:49 +0000
Commit:     Fernando ApesteguĂ­a <fernape@FreeBSD.org>
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`



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304031522.333FMK0j028635>