Mon Nov 14 14:38:32 2016 UTC ()
Updated ninja-build to 1.7.2.

This is a minor release after v1.7.1, mostly bugfixes.

== Release notes.

* %e and %r work again in dumb terminals (#1146, #1148)
* `-t browse` now HTML-escapes rule names (#1157)
* an edge may now have 0 explicit outputs if it has implicit outputs (#1159)
* make misc/measure.py python 3-compatible
* misc/write_fake_manifest.py now optionally writes source files, use it to
  quickly produce large, buildable projects for testing (#1109, #1198)
* on newer FreeBSDs, use ppoll()


(wiz)
diff -r1.6 -r1.7 pkgsrc/devel/ninja-build/Makefile
diff -r1.7 -r1.8 pkgsrc/devel/ninja-build/distinfo
diff -r1.2 -r1.3 pkgsrc/devel/ninja-build/patches/patch-configure.py

cvs diff -r1.6 -r1.7 pkgsrc/devel/ninja-build/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/ninja-build/Makefile 2016/05/16 11:56:11 1.6
+++ pkgsrc/devel/ninja-build/Makefile 2016/11/14 14:38:32 1.7
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.6 2016/05/16 11:56:11 ryoon Exp $ 1# $NetBSD: Makefile,v 1.7 2016/11/14 14:38:32 wiz Exp $
2 2
3DISTNAME= ninja-1.7.1 3DISTNAME= ninja-1.7.2
4PKGNAME= ${DISTNAME:S/ninja/ninja-build/} 4PKGNAME= ${DISTNAME:S/ninja/ninja-build/}
5CATEGORIES= devel 5CATEGORIES= devel
6MASTER_SITES= ${MASTER_SITE_GITHUB:=ninja-build/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=ninja-build/}
7GITHUB_TAG= v${PKGVERSION_NOREV} 7GITHUB_TAG= v${PKGVERSION_NOREV}
8GITHUB_PROJECT= ninja 8GITHUB_PROJECT= ninja
9 9
10MAINTAINER= ryoon@NetBSD.org 10MAINTAINER= ryoon@NetBSD.org
11HOMEPAGE= https://ninja-build.org/ 11HOMEPAGE= https://ninja-build.org/
12COMMENT= Ninja is a small build system with a focus on speed 12COMMENT= Ninja is a small build system with a focus on speed
13LICENSE= apache-2.0 13LICENSE= apache-2.0
14 14
15BUILD_DEPENDS+= re2c>=0.11.3:../../devel/re2c 15BUILD_DEPENDS+= re2c>=0.11.3:../../devel/re2c
16 16

cvs diff -r1.7 -r1.8 pkgsrc/devel/ninja-build/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/ninja-build/distinfo 2016/05/16 11:56:11 1.7
+++ pkgsrc/devel/ninja-build/distinfo 2016/11/14 14:38:32 1.8
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.7 2016/05/16 11:56:11 ryoon Exp $ 1$NetBSD: distinfo,v 1.8 2016/11/14 14:38:32 wiz Exp $
2 2
3SHA1 (ninja-1.7.1.tar.gz) = 556ed5f8ee49753af1cf4b0ab2315d39d1954d58 3SHA1 (ninja-1.7.2.tar.gz) = a50e9008e90339d052f741e9c52a3475aa108fbb
4RMD160 (ninja-1.7.1.tar.gz) = 19b6418c25c605c83105129395502eb46b7d0464 4RMD160 (ninja-1.7.2.tar.gz) = a0f02eaae9db64241784de4ebb53ac5ae6e767eb
5SHA512 (ninja-1.7.1.tar.gz) = 6c7bea92942c48d2a810b1edb0187a3b0230eee3a1ce0013e9dcc8dd41d99215f18f0f85be789173e590ee24f517969fd159099541cacd7eb0ba69e50d296f40 5SHA512 (ninja-1.7.2.tar.gz) = 29900d07364d87ad8b9614b82bc1b0afda5ca6522563ab73fb228f206ed6b29b70cf034a3caf5a9b2c0b105d1e076c6b425d93b5d14aa3ca3730d75611212a64
6Size (ninja-1.7.1.tar.gz) = 179717 bytes 6Size (ninja-1.7.2.tar.gz) = 180611 bytes
7SHA1 (patch-configure.py) = b5565255dad6e3280c82c861fea8f5769f937e97 7SHA1 (patch-configure.py) = 830ffd19fcf7f0664293b362c930695674e4b8f5

cvs diff -r1.2 -r1.3 pkgsrc/devel/ninja-build/patches/Attic/patch-configure.py (expand / switch to unified diff)

--- pkgsrc/devel/ninja-build/patches/Attic/patch-configure.py 2016/05/16 11:56:11 1.2
+++ pkgsrc/devel/ninja-build/patches/Attic/patch-configure.py 2016/11/14 14:38:32 1.3
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1$NetBSD: patch-configure.py,v 1.2 2016/05/16 11:56:11 ryoon Exp $ 1$NetBSD: patch-configure.py,v 1.3 2016/11/14 14:38:32 wiz Exp $
2 2
3* Add NetBSD support 3* Add NetBSD support
4 4
5--- configure.py.orig 2016-04-28 14:56:44.000000000 +0000 5--- configure.py.orig 2016-11-07 18:34:46.000000000 +0000
6+++ configure.py 6+++ configure.py
7@@ -95,7 +95,7 @@ class Platform(object): 7@@ -95,7 +95,7 @@ class Platform(object):
8 return self._platform == 'aix' 8 return self._platform == 'aix'
9  9
10 def uses_usr_local(self): 10 def uses_usr_local(self):
11- return self._platform in ('freebsd', 'openbsd', 'bitrig') 11- return self._platform in ('freebsd', 'openbsd', 'bitrig')
12+ return self._platform in ('freebsd', 'openbsd', 'bitrig', 'netbsd') 12+ return self._platform in ('freebsd', 'openbsd', 'bitrig', 'netbsd')
13  13
14 def supports_ppoll(self): 14 def supports_ppoll(self):
15 return self._platform in ('linux', 'openbsd', 'bitrig') 15 return self._platform in ('freebsd', 'linux', 'openbsd', 'bitrig')
16@@ -350,8 +350,8 @@ else: 16@@ -350,8 +350,8 @@ else:
17 cflags += ['-D_WIN32_WINNT=0x0501'] 17 cflags += ['-D_WIN32_WINNT=0x0501']
18 ldflags = ['-L$builddir'] 18 ldflags = ['-L$builddir']
19 if platform.uses_usr_local(): 19 if platform.uses_usr_local():
20- cflags.append('-I/usr/local/include') 20- cflags.append('-I/usr/local/include')
21- ldflags.append('-L/usr/local/lib') 21- ldflags.append('-L/usr/local/lib')
22+ cflags.append('-I@PREFIX@/include') 22+ cflags.append('-I@PREFIX@/include')
23+ ldflags.append('-L@PREFIX@/lib') 23+ ldflags.append('-L@PREFIX@/lib')
24  24
25 libs = [] 25 libs = []
26  26