FreeBSD support #130

wants to merge 1 commit into


None yet

4 participants

voldern commented Aug 9, 2012

FreeBSD ships with its own make program that is not compatible with the Node makefiles. This patch makes it use gmake when available.


Seems more like a patch for node itself? Also not everyone who has both gmake and make will prefer to use gmake.

Suor commented Nov 8, 2012

Still a workaround would be very desirable

voldern commented Feb 12, 2013

My suggestion then is to check uname and if its FreeBSD use gmake. Does this sound like an acceptable solution?

Suor commented Feb 12, 2013

That should work. A better way is probably examining make itself, but I don't know how to do it. FreeBSDs make doesn't even have -v or --version option.

voldern commented Feb 12, 2013

Yeah, unfortunately FreeBSD make doesn't seem to have a way to get the version. The only way I can come up with on the top of my head would be to check the capabilities of make by sending in a flag or something that is only supported in one of the makes, and then check the return code. But that seems to me like an uglier way then just checking uname.

I'll try to get some advice from more seasoned FreeBSD users.

ljharb commented Jun 14, 2013

This is absolutely a bug that should be filed against node, not against nvm.

@ljharb ljharb closed this Jun 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment