node-arduino-firmata: fix issues with node 8.11.3
authorEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 8 Aug 2018 14:59:15 +0000 (11:59 -0300)
committerEneas U de Queiroz <cote2004-github@yahoo.com>
Wed, 8 Aug 2018 17:40:51 +0000 (14:40 -0300)
commit6ed62c6982563442fc9fd27f0f62cc045a6d38eb
treeabd82cc0f938d66020c1e7a8e8480ccdaa122c83
parent8727443f61cc1572e318e605dfc72ffba700e833
node-arduino-firmata: fix issues with node 8.11.3

Get node version from node executable instead of keeping it hardcoded to
the Makefile.

Current version of npm install installs a link to the build directory.
The workaround is to use npm pack to make a tarball and install from
that.
npm also adds useless metadata to package.json exposing
PKG_BUILD_DIR, so it needs to be stripped.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
lang/node-arduino-firmata/Makefile