What steps will reproduce the problem?
1. Attempt to install node-fibers on OpenBSD 5.1
What is the expected output? What do you see instead?
node-fibers uses node-gyp (which uses gyp). However, because gyp recognizes
OpenBSD 5.1 as linux, it attempts to use ucontext instead of the asm code
(OpenBSD only works with the asm code).
Attached is a simple patch to add OpenBSD 5.x support.
What version of the product are you using? On what operating system?
This was with node-gyp 0.4.2 on OpenBSD 5.1. I'm not sure which version of
gyp. I've tried to modify the patch by hand to work against gyp trunk, but I'm
not sure it will apply. It's a one-line patch, so it should be easy to apply
manually.
Original issue reported on code.google.com by jeremyev...@gmail.com on 23 May 2012 at 2:38
Original issue reported on code.google.com by
jeremyev...@gmail.com
on 23 May 2012 at 2:38Attachments: