Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on FreeBSD #585

Merged
merged 1 commit into from
Jun 11, 2021
Merged

Fix build on FreeBSD #585

merged 1 commit into from
Jun 11, 2021

Conversation

smortex
Copy link
Contributor

@smortex smortex commented Jun 11, 2021

FreeBSD make and GNU make share a common base but provide extensions
not supported by the other. This leads to build failures and can be
fixed by using the right version of make. On FreeBSD, GNU make is
installed as gmake so detect and use this. While here, also check
the environment for allowing overriding the binary to make in case
other platform can benefit from it (e.g. OpenBSD, NetBSD and probably
others).

While here, also catch the right number of CPU for parallel build.

FreeBSD make and GNU make share a common base but provide extensions
not supported by the other.  This leads to build failures and can be
fixed by using the right version of make.  On FreeBSD, GNU make is
installed as `gmake` so detect and use this.  While here, also check
the environment for allowing overriding the binary to make in case
other platform can benefit from it (e.g. OpenBSD, NetBSD and probably
others).

While here, also catch the right number of CPU for parallel build.
@ibc
Copy link
Member

ibc commented Jun 11, 2021

Thanks, will merge later today.

@ibc ibc merged commit 9e7335f into versatica:v3 Jun 11, 2021
@ibc
Copy link
Member

ibc commented Jun 11, 2021

Released in 3.7.13.

@smortex smortex deleted the freebsd branch June 11, 2021 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants