diff --git a/lang/node-serialport/Makefile b/lang/node-serialport/Makefile index 5d3542665..7988b0865 100644 --- a/lang/node-serialport/Makefile +++ b/lang/node-serialport/Makefile @@ -9,12 +9,12 @@ include $(TOPDIR)/rules.mk PKG_NPM_NAME:=serialport PKG_NAME:=node-$(PKG_NPM_NAME) -PKG_VERSION:=9.0.2 +PKG_VERSION:=9.0.4 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NPM_NAME)-$(PKG_VERSION).tgz PKG_SOURCE_URL:=https://registry.npmjs.org/$(PKG_NPM_NAME)/-/ -PKG_HASH:=5f4cef3ec85accc8ad3d2ba75654fca4270e4a00d01729c4c4bcb895a3fdb5d6 +PKG_HASH:=e19fe993ad16ae0e03fc42e24cfe4babf8fd90f8358e1885d5e216277dda1086 PKG_BUILD_DEPENDS:=node/host PKG_USE_MIPS16:=0 @@ -56,7 +56,7 @@ define Build/Compile npm_config_prefix=$(PKG_INSTALL_DIR)/usr/ \ npm_config_cache=$(TMP_DIR)/npm-cache-$(TMPNPM) \ npm_config_tmp=$(TMP_DIR)/npm-tmp-$(TMPNPM) \ - npm install -g --build-from-source $(PKG_BUILD_DIR) + npm install -g $(PKG_BUILD_DIR) rm -rf $(TMP_DIR)/npm-tmp-$(TMPNPM) rm -rf $(TMP_DIR)/npm-cache-$(TMPNPM) endef diff --git a/lang/node-serialport/patches/001-turn_off_depends.patch b/lang/node-serialport/patches/000-remove_depends.patch similarity index 87% rename from lang/node-serialport/patches/001-turn_off_depends.patch rename to lang/node-serialport/patches/000-remove_depends.patch index bb6ace684..063d0411a 100644 --- a/lang/node-serialport/patches/001-turn_off_depends.patch +++ b/lang/node-serialport/patches/000-remove_depends.patch @@ -4,7 +4,7 @@ ], "dependencies": { "@serialport/binding-mock": "^9.0.2", -- "@serialport/bindings": "^9.0.2", +- "@serialport/bindings": "^9.0.4", "@serialport/parser-byte-length": "^9.0.1", "@serialport/parser-cctalk": "^9.0.1", "@serialport/parser-delimiter": "^9.0.1",