summaryrefslogtreecommitdiff
path: root/databases/sqlrelay
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2018-05-04 14:26:41 +0000
committerfhajny <fhajny@pkgsrc.org>2018-05-04 14:26:41 +0000
commitd17e287ecd48a5ce605dbd42e31559c18d309a17 (patch)
tree2b191922ed4f6d2afea50c1f01b8779dd9d8acb8 /databases/sqlrelay
parent8f494ae549a0e756c37d65ce67b052bf2ec0ce32 (diff)
downloadpkgsrc-d17e287ecd48a5ce605dbd42e31559c18d309a17.tar.gz
databases/sqlrelay-nodejs: Fix nodejs support, avoid built-time fetching.
Diffstat (limited to 'databases/sqlrelay')
-rw-r--r--databases/sqlrelay/distinfo3
-rw-r--r--databases/sqlrelay/patches/patch-src_api_nodejs_Makefile15
2 files changed, 17 insertions, 1 deletions
diff --git a/databases/sqlrelay/distinfo b/databases/sqlrelay/distinfo
index c3c9d24ce60..91c5fd91619 100644
--- a/databases/sqlrelay/distinfo
+++ b/databases/sqlrelay/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2017/06/12 17:06:18 taca Exp $
+$NetBSD: distinfo,v 1.24 2018/05/04 14:26:41 fhajny Exp $
SHA1 (sqlrelay-1.0.0.tar.gz) = 3f350a71fea8177a8e003524b6833347f741153b
RMD160 (sqlrelay-1.0.0.tar.gz) = 1bc6c1ac02eb8a58c1aa8e2bacd0c8662a283aad
@@ -8,6 +8,7 @@ SHA1 (patch-ad) = cc4a94941ec737abede98bdd7b19bc902f755609
SHA1 (patch-config.mk.in) = 22e8459f49e20529289e1a99b10cebaa449af0c0
SHA1 (patch-configure) = 689820a84f671923b96f64a62de08ce266f55501
SHA1 (patch-etc_Makefile) = 28e9cac18314f1fc725603d47cb92ec6e54d7c63
+SHA1 (patch-src_api_nodejs_Makefile) = fd932cd1c76a34cc5decbe4060fc7c37174631bb
SHA1 (patch-src_api_nodejs_package__in.json) = 76e2ebc4e47d5ef38d0c96059b62460fef687d1e
SHA1 (patch-src_api_php_sql__relay.cpp) = 9e33260f4e4331874187e5b30db17d4478710385
SHA1 (patch-src_api_ruby_getcflags.rb) = 033e26ef03db4851f493d831c37ec947662d47ee
diff --git a/databases/sqlrelay/patches/patch-src_api_nodejs_Makefile b/databases/sqlrelay/patches/patch-src_api_nodejs_Makefile
new file mode 100644
index 00000000000..745e78195be
--- /dev/null
+++ b/databases/sqlrelay/patches/patch-src_api_nodejs_Makefile
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_api_nodejs_Makefile,v 1.1 2018/05/04 14:26:42 fhajny Exp $
+
+Reuse existing nodejs headers, do not fetch.
+
+--- src/api/nodejs/Makefile.orig 2016-12-20 08:40:41.000000000 +0000
++++ src/api/nodejs/Makefile
+@@ -12,7 +12,7 @@ clean:
+ $(RM) temp1.gyp temp2.gyp
+
+ build/Release/sqlrelay.node: binding.gyp sqlrelay.cpp package.json
+- $(NODEGYP) -v configure build
++ $(NODEGYP) -v --nodedir $(PREFIX) configure build
+
+ binding.gyp: binding_in.gyp
+ $(REPLACE) @NODEJSINCLUDEDIRS@ "$(NODEJSINCLUDEDIRS)" binding_in.gyp > temp1.gyp