On 2013/05/02 09:40, David Coppa wrote: > On Wed, 01 May 2013, Matthew Dempsky wrote: > > > On Wed, May 01, 2013 at 03:24:25PM -0700, Matthew Dempsky wrote: > > > Attached is a port of the Ninja build system: > > > http://martine.github.io/ninja/ > > > > D'oh, attached for real this time... > > Hi! > > Just some comments: > > Python is only needed for building ninja, so I've added MODPY_RUNDEP=No. > > I've fixed some paths to the python interpreter using MODPY_ADJ_FILES. > > patch-bootstrap_py is not needed, 'cause ninja only wants libc, > libm and libstdc++ that come all from base. > > I've added a patch 'patch-src_util_cc' to get the number of cpus > on OpenBSD too (just a couple of extra #ifdefs, the code is the > same as for FreeBSD). > > > Ciao, > David
Sigh, another project who don't make proper releases and rely on on-the-fly generated distfiles... v1.2.0.tar.gz is not suitable as a filename - if upstream won't make proper releases then either mirror it or use this hack: V = 1.2.0 DISTNAME = ninja-$V MASTER_SITES = https://github.com/martine/ninja/archive/v$V.tar.gz?bleh=/ (will also need to regen distinfo). Also it should honour CXX rather than hardcode g++: MAKE_ENV = CXX="${CXX}" I don't have a new enough system handy to finish testing right now but if it works for you with these changes then OK with me.
