diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-12-06 17:52:06 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-12-06 17:52:06 +0000 |
commit | d4e6a5a675bb3acf9bfe1de360087c307514609c (patch) | |
tree | 35948bd18c9f5405978bc5b37e9e0c1a39daefe6 /www/npm | |
parent | 8e47fc860c921abcc4332466dad39252be7fd666 (diff) | |
download | ports-d4e6a5a675bb3acf9bfe1de360087c307514609c.tar.gz ports-d4e6a5a675bb3acf9bfe1de360087c307514609c.zip |
Notes
Diffstat (limited to 'www/npm')
-rw-r--r-- | www/npm/Makefile | 4 | ||||
-rw-r--r-- | www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py | 14 |
2 files changed, 17 insertions, 1 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile index 0ff62356c36e..5efe41b59c19 100644 --- a/www/npm/Makefile +++ b/www/npm/Makefile @@ -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 diff --git a/www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py b/www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py new file mode 100644 index 000000000000..128a51380a11 --- /dev/null +++ b/www/npm/files/patch-node_modules-node-gyp-gyp-pylib-gyp-generator-make.py @@ -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)'), + }) + |