mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-04 01:48:54 +00:00
devel/samurai: Move to latest commit
This adds --version support to samurai which CMake and Meson expect to be available. This fixes the build of many ports when using samurai as ninja replacement.
This commit is contained in:
parent
45c54853c4
commit
1119da5753
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468759
@ -1,9 +1,9 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= samurai
|
||||
DISTVERSION= 0.3
|
||||
DISTVERSION= 0.3-21
|
||||
DISTVERSIONSUFFIX= -g6ec14ce
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= https://github.com/michaelforney/samurai/releases/download/${DISTVERSION}/
|
||||
|
||||
MAINTAINER= tobik@FreeBSD.org
|
||||
COMMENT= Ninja-compatible build tool written in C
|
||||
@ -13,6 +13,9 @@ LICENSE_COMB= multi
|
||||
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE
|
||||
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= michaelforney
|
||||
|
||||
ALL_TARGET= samu
|
||||
PLIST_FILES= bin/samu man/man1/samu.1.gz
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1524823953
|
||||
SHA256 (samurai-0.3.tar.gz) = 2a93d09a2dc97a9930d2757f2829c599d7ca339c7df61b048210c6be18d318b0
|
||||
SIZE (samurai-0.3.tar.gz) = 26450
|
||||
TIMESTAMP = 1525128825
|
||||
SHA256 (michaelforney-samurai-0.3-21-g6ec14ce_GH0.tar.gz) = 5c8c54046f3f54918e41f897fe535aa6e199f928084c5d8afc7933fbb3074069
|
||||
SIZE (michaelforney-samurai-0.3-21-g6ec14ce_GH0.tar.gz) = 26569
|
||||
|
18
devel/samurai/files/patch-samurai.c
Normal file
18
devel/samurai/files/patch-samurai.c
Normal file
@ -0,0 +1,18 @@
|
||||
Stub out -w which is used by gyp when building Chromium to pass
|
||||
dupbuild=err to ninja.
|
||||
|
||||
samuari treats multiple build lines for a target and cycles as an error
|
||||
by default.
|
||||
|
||||
--- samurai.c.orig 2018-04-30 05:02:22 UTC
|
||||
+++ samurai.c
|
||||
@@ -133,6 +133,9 @@ main(int argc, char *argv[])
|
||||
case 'v':
|
||||
buildopts.verbose = true;
|
||||
break;
|
||||
+ case 'w':
|
||||
+ EARGF(usage());
|
||||
+ break;
|
||||
default:
|
||||
usage();
|
||||
} ARGEND
|
Loading…
Reference in New Issue
Block a user