1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
Description: Fix PRE_GYP tool search
The upstream has bugs on finding system node_pre_gyp tool. We fix it.
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Last-Update: 2018-12-10
Index: node-opencv-6.0.0/Makefile
===================================================================
--- node-opencv-6.0.0.orig/Makefile
+++ node-opencv-6.0.0/Makefile
@@ -54,7 +54,7 @@ endif
# The location of the `node-pre-gyp` module builder. Try and get a globally
# installed version, falling back to a local install.
NODE_PRE_GYP = $(shell which node-pre-gyp)
-ifeq ($(NODE_GYP),)
+ifeq ($(NODE_PRE_GYP),)
NODE_PRE_GYP = ./node_modules/.bin/node-pre-gyp
endif
|