git: 51d264d1f2 - main - [phb]: Update Uses=ninja
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 03 Apr 2023 15:22:20 UTC
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`