Skip to content

Conversation

@compufox
Copy link
Contributor

Simple2D just merged a PR to add build support for BSD systems, so I thought I'd send this PR to complete the package!

@blacktm
Copy link
Member

blacktm commented May 7, 2019

Hi @theZacAttacks. Thanks for the PR! The extconf.rb has since changed, so I made some updates. Would you be able to give this a try, see if everything works ok? I had to force push to resolved merge conflicts, so you may want to get a fresh pull of the branch, update the submodules with rake update, then run rake to build and install the gem.

Base automatically changed from master to main February 9, 2021 05:54
@blacktm blacktm merged commit e255b4c into ruby2d:main Aug 7, 2021
@desnudopenguino
Copy link

Took a look at this MR from a discussion in discord. It's a good start, but only takes into account one package manager for one BSD (FreeBSD).

To work automagically, it would need to determine the specific BSD via uname, then use the proper package manager and sudo-esque tool. For example, OpenBSD uses their own package manager which is a set of shell scripts, and has a native tool called doas instead of sudo. I can help with the OpenBSD part, because that's where a majority of my time is spent.

Another thing to note is that the BSD's aren't like linux. Each BSD is a completely separate OS built on a separate kernel, and with a separate set of userland tools. What works for one should be able to be translated for the next, but they may not have the exact same implementation of some things.

@blacktm
Copy link
Member

blacktm commented Aug 10, 2021

Thanks for the background @desnudopenguino! Would love help to improve BSD support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants