packages/lang/node-serialport/patches/package.json.patch
John Crispin 1fd7b5d1e6 nodejs: add 0.12 version of node
add node-js 0.12 and a few gyp bindings

Signed-off-by: John Crispin <blogic@openwrt.org>
2015-10-19 12:20:11 +02:00

11 lines
397 B
Diff

--- a/package.json 2014-05-02 12:02:02.940515727 +0200
+++ b/package.json 2014-05-02 12:03:08.488512762 +0200
@@ -69,7 +71,7 @@
"serialportterm": "./bin/serialportTerminal.js"
},
"scripts": {
- "install": "node-pre-gyp install --fallback-to-build",
+ "install": "node-pre-gyp reinstall --build-from-source --target_arch=${npm_config_arch}",
"test": "grunt --verbose"
}
}