aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-11-20 12:30:31 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 05:58:35 +0800
commit2127f7714fae17db46ce76345ca3a0b5ba556252 (patch)
tree2882678ad98436eb67c73c3be2cf4f02c96a95dd
parent9a4bda321fd60489073b8c8f96673f670b6941e0 (diff)
downloadfreebsd-ports-gnome-2127f7714fae17db46ce76345ca3a0b5ba556252.tar.gz
freebsd-ports-gnome-2127f7714fae17db46ce76345ca3a0b5ba556252.tar.zst
freebsd-ports-gnome-2127f7714fae17db46ce76345ca3a0b5ba556252.zip
Add Node.js 9.x support manually
- Bump PORTREVISION for package change
-rw-r--r--www/npm/Makefile2
-rw-r--r--www/npm/files/patch-node912
2 files changed, 13 insertions, 1 deletions
diff --git a/www/npm/Makefile b/www/npm/Makefile
index e85943d27604..16dcf5184de4 100644
--- a/www/npm/Makefile
+++ b/www/npm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= npm
PORTVERSION= 5.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
MASTER_SITES= LOCAL/sunpoet
diff --git a/www/npm/files/patch-node9 b/www/npm/files/patch-node9
new file mode 100644
index 000000000000..9f9d5acb8056
--- /dev/null
+++ b/www/npm/files/patch-node9
@@ -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'
+