8e392f54d0
The one test remaining I've not been able to figure out what goes wrong (it tries overriding the compiler to use, but ends up passing the source to cc anyway, which wasn't supposed to happen). Updated DESCR to be a little more verbose. It now starts with GYP is a tool for the Chromium project that generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format. Other changes: * Substitute /usr/bin/python and a bare "python" in a couple of files * Replace python in the interpreter line in all *.py files, done in a separate Makefile.replalce-python due to its size * Add a tool.mk make fragment for pkgsrc, for users of "gyp" within pkgsrc. It makes a "python" available, via the python package's own tool.mk. The GYP language spec says it's kosher to invoke Python from a gyp file by just saying "python". * Fix the bash interpreter in the "gyp" script * Add config for "netbsd7" as well * For some reason "thin" ar archives sometimes fail to produce an archive which "ar t" recognizes as valid, so avoid using them on NetBSD * Fix up some of the tests; our GNU make says "nothing to be done" with different quotes, add NetBSD platform support in some tests, and regenerate a couple of output files (should have been done upstream). PKGREVISION bumped.
9 lines
217 B
Makefile
9 lines
217 B
Makefile
# $NetBSD: tool.mk,v 1.1 2014/08/21 14:49:43 he Exp $
|
|
|
|
.if !defined(GYP_TOOL_MK)
|
|
GYP_TOOL_MK= defined
|
|
|
|
# Gyp really wants an executable "python"; this does it
|
|
.include "../../lang/python/tool.mk"
|
|
|
|
.endif #GYP_TOOL_MK
|