openbsd-ports/lang/node/patches/patch-node_gyp
jasper e65c567a95 - update node to 0.8.0
* please see this blog post for more details on the changes:
  http://blog.nodejs.org/2012/06/25/node-v0-8-0/
  * the migration wiki can be consulted to port your code to node 0.8:
    https://github.com/joyent/node/wiki/API-changes-between-v0.6-and-v0.8
    - expose node-gyp, so it's now installed into ${LOCALBASE}/bin/ too

    from aaron bieber with tweaks by me
    ok jeremy@
2012-06-28 08:30:28 +00:00

23 lines
644 B
Plaintext

$OpenBSD: patch-node_gyp,v 1.1 2012/06/28 08:30:28 jasper Exp $
--- node.gyp.orig Mon Jun 25 10:03:59 2012
+++ node.gyp Mon Jun 25 10:05:32 2012
@@ -133,6 +133,9 @@
],
'conditions': [
+ [ 'OS=="openbsd"', {
+ 'ldflags': [ '-rdynamic' ],
+ }],
[ 'node_use_openssl=="true"', {
'defines': [ 'HAVE_OPENSSL=1' ],
'sources': [ 'src/node_crypto.cc' ],
@@ -222,7 +225,7 @@
'PLATFORM="darwin"',
],
}],
- [ 'OS=="freebsd"', {
+ [ 'OS=="freebsd" or OS=="openbsd"', {
'libraries': [
'-lutil',
'-lkvm',