1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00

Add Node.js 9.x support manually

- Bump PORTREVISION for package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-11-20 04:30:31 +00:00
parent 84cd922109
commit 908a9b155a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454516
2 changed files with 13 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= npm
PORTVERSION= 5.4.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet

12
www/npm/files/patch-node9 Normal file
View File

@ -0,0 +1,12 @@
--- lib/node_modules/npm/lib/utils/unsupported.js.orig 2017-09-15 00:42:12 UTC
+++ lib/node_modules/npm/lib/utils/unsupported.js
@@ -4,7 +4,8 @@ var supportedNode = [
{ver: '4', min: '4.7.0'},
{ver: '6', min: '6.0.0'},
{ver: '7', min: '7.0.0'},
- {ver: '8', min: '8.0.0'}
+ {ver: '8', min: '8.0.0'},
+ {ver: '9', min: '9.0.0'}
]
var knownBroken = '<4.7.0'