Closed pizzamig closed 5 years ago
@pizzamig Thanks for this patch. I'm willing to accept it, but have a question there: how does this case look like on other BSDs, like Net? I don't want to over-specify there.
The current situation is that the build is broken on every system not using GNU Make.
For what I know, no BSD uses GNU Make.
However, I'm not sure how the GNU Make is called on other BSDs.
I think the TARGET recognition can be relaxed using "bsd" instead of "freebsd" (and variable names changed accordingly). It should work as long as gmake
is installed.
I'll update the PR
@pizzamig Thanks! I also tweeted around to see if I can get some eyes on that from other BSD folks.
Seems legit!
I'll merge and cut a release a little later today.
Released as 2.0.3.
Thanks a lot!
This patch will add support to FreeBSD. The
build.rs
is recognizing FreeBSD using the TARGET environment variable, then configuring the build to usegmake
instead of the incompatiblemake