Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)

Samurai is a Ninja-compatible build tool with fewer dependencies
than Ninja.  Hook it to the framework via a new NINJA_DEFAULT.

This also adds %p to NINJA_STATUS to make Ninja or Samurai print
the percentage of completed jobs to make it easier to eyeball how
much of the build is done.

PR:		254678
Exp-run	by:	antoine
This commit is contained in:
Tobias Kortkamp
2021-04-06 09:23:13 +02:00
parent 18f78deb53
commit a91d65363f
16 changed files with 85 additions and 43 deletions

View File

@@ -8,9 +8,7 @@ COMMENT= USB floppy disk interface for reading and writing non-PC disk formats
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING.md
BUILD_DEPENDS= ninja:devel/ninja
USES= pkgconfig gmake compiler:gcc-c++11-lib sqlite
USES= compiler:gcc-c++11-lib gmake ninja:build pkgconfig sqlite
USE_GITHUB= yes
GH_ACCOUNT= davidgiven