Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 17:52:06 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403137 - in head/www/npm: . files
Message-ID:  <201512061752.tB6Hq6hP074404@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)'),
+   })
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512061752.tB6Hq6hP074404>