jeremy 877e92b50c Update node-pg to 0.7.1, works with node 0.8.0.
Build process changed from waf to gyp, modify gyp binding to work.
2012-06-28 17:31:43 +00:00

15 lines
432 B
Plaintext

$OpenBSD: patch-binding_gyp,v 1.1 2012/06/28 17:31:43 jeremy Exp $
--- binding.gyp.orig Mon Jun 18 20:44:42 2012
+++ binding.gyp Tue Jun 26 13:47:33 2012
@@ -5,8 +5,8 @@
'sources': [
'src/binding.cc'
],
- 'include_dirs': ['/usr/include/postgresql'],
- 'libraries' : ['-lpq']
+ 'include_dirs': ['${LOCALBASE}/include/postgresql'],
+ 'libraries' : ['-L${LOCALBASE}/lib -lpq']
}
]
}