Skip to content

add OpenBSD support (again) #191

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

Closed
wants to merge 2 commits into from
Closed

add OpenBSD support (again) #191

wants to merge 2 commits into from

Conversation

jg1uaa
Copy link
Contributor

@jg1uaa jg1uaa commented Jan 14, 2019

Simply add Makefile.openbsd and modified some stuffs.

The difference from Linux:

  • use PortAudio as default to support sndio interface
  • no CM108 GPIO support

On OpenBSD, the path to bash is /usr/local/bin/bash not /bin/bash
so dw-start.sh needs to support both paths.

@wb2osz
Copy link
Owner

wb2osz commented Jul 8, 2019

The "dev" branch now contains a combination of #92 and #191 for better BSD support. Rather than adding yet another Makefile, more conditions were added to Makefile.linux to reduce future maintenance effort.

@irl
Copy link
Contributor

irl commented Sep 13, 2019

direwolf built with the Makefile.openbsd from this PR, but the output was not decodable and it also never decoded any packets generated by my VX-8. I didn't see that the dev branch has BSD stuff, so I can try that one and see if it's any better.

@wb2osz
Copy link
Owner

wb2osz commented Sep 14, 2019

Maintaining 3 different Makefiles in parallel is a maintenance headache. Adding a 4th would make things worse.

The "dev" branch now contains a combination of #92 and #191 for better BSD support. Rather than adding yet another Makefile, more conditions were added to Makefile.linux to reduce future maintenance effort.

Ideally everything could be derived from a single multi-platform recipe but I don't want to go down the autoconf road. Too many bad experiences with it.

Someone is working on using “cmake” to solve the multi-platform problem. It has some issues but it but it looks promising.
https://github.com/ra1nb0w/direwolf/tree/cmake-dev

Can you give it a try and let me know about your experience? Thanks!

@irl
Copy link
Contributor

irl commented Sep 14, 2019

Yeah, will give it a try. I agree that adding more Makefiles is not the answer.

@wb2osz
Copy link
Owner

wb2osz commented Nov 24, 2019

No longer applicable. The 'dev' branch is now using cmake.

@wb2osz wb2osz closed this Nov 24, 2019
@wb2osz
Copy link
Owner

wb2osz commented Nov 24, 2019

No longer applicable. The 'dev' branch is now using cmake.

@wb2osz wb2osz reopened this Nov 24, 2019
@wb2osz
Copy link
Owner

wb2osz commented Nov 24, 2019

Oops. Did i accidentally hit the reopen button?
No longer applicable. The 'dev' branch is now using cmake.

@wb2osz wb2osz closed this Nov 24, 2019
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