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

Handle missing dependencies on MidnightBSD #2019

Merged
merged 1 commit into from Nov 19, 2021

Conversation

laffer1
Copy link
Contributor

@laffer1 laffer1 commented Nov 19, 2021

Summary

  • OS: MidnightBSD 2.1.2
  • Bug fix: no
  • Type: scripts
  • Fixes:

Description

MidnightBSD uses a different package manager than FreeBSD, but we're grouping the support together so just use which to figure out the correct package manager with FreeBSD's first.

setup.py Outdated
missdeps("pkg install gcc python%s" % py3)
if which('pkg'):
missdeps("pkg install gcc python%s" % py3)
elif which('mport'):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add:

elif which('mport'):  # MidnightBSD

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

MidnightBSD uses a different package manager than FreeBSD, but we're grouping the support together so just use which to figure out what we want.
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.

None yet

2 participants