File: 0001_fix_makefile.patch

package info (click to toggle)
node-opencv 6.0.0%2Bgit20180416.cfc96ba0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 24,632 kB
  • sloc: xml: 476,707; cpp: 5,950; makefile: 114; sh: 59; ansic: 20
file content (17 lines) | stat: -rw-r--r-- 659 bytes parent folder | download
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