svn commit: r403137 - in head/www/npm: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Dec 6 17:52:07 UTC 2015
Author: sunpoet
Date: Sun Dec 6 17:52:06 2015
New Revision: 403137
URL: https://svnweb.freebsd.org/changeset/ports/403137
Log:
- Add gmake to RUN_DEPENDS
- Fix default C/C++ compiler in node-gyp
- Bump PORTREVISION for dependency and package change
PR: 204547
Submitted by: Yuri <yuri at rawbw.com>
Added:
head/www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py (contents, props changed)
Modified:
head/www/npm/Makefile
Modified: head/www/npm/Makefile
==============================================================================
--- head/www/npm/Makefile Sun Dec 6 17:52:01 2015 (r403136)
+++ head/www/npm/Makefile Sun Dec 6 17:52:06 2015 (r403137)
@@ -3,7 +3,7 @@
PORTNAME= npm
PORTVERSION= 2.14.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
@@ -12,6 +12,8 @@ COMMENT= Node package manager
LICENSE= MIT
+RUN_DEPENDS= gmake:${PORTSDIR}/devel/gmake
+
OPTIONS_SINGLE= BACKEND
OPTIONS_SINGLE_BACKEND= NODE NODE_DEVEL
OPTIONS_DEFAULT=NODE
Added: head/www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py Sun Dec 6 17:52:06 2015 (r403137)
@@ -0,0 +1,14 @@
+--- node_modules/node-gyp/gyp/pylib/gyp/generator/make.py.orig 2015-10-02 18:06:50 UTC
++++ node_modules/node-gyp/gyp/pylib/gyp/generator/make.py
+@@ -2059,9 +2059,9 @@ def GenerateOutput(target_list, target_d
+ 'AR.target': GetEnvironFallback(('AR_target', 'AR'), '$(AR)'),
+ 'CXX.target': GetEnvironFallback(('CXX_target', 'CXX'), '$(CXX)'),
+ 'LINK.target': GetEnvironFallback(('LINK_target', 'LINK'), '$(LINK)'),
+- 'CC.host': GetEnvironFallback(('CC_host',), 'gcc'),
++ 'CC.host': GetEnvironFallback(('CC_host',), 'cc'),
+ 'AR.host': GetEnvironFallback(('AR_host',), 'ar'),
+- 'CXX.host': GetEnvironFallback(('CXX_host',), 'g++'),
++ 'CXX.host': GetEnvironFallback(('CXX_host',), 'c++'),
+ 'LINK.host': GetEnvironFallback(('LINK_host',), '$(CXX.host)'),
+ })
+
More information about the svn-ports-head
mailing list