wutingcindy / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Support OpenBSD in GetFlavor #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry for marking this issue as duplicated to newer one.

Anyway, this issue seems to be fixed by r1590.

Original comment by yukawa@chromium.org on 23 Nov 2013 at 6:00