Depexts: Add support for NetBSD, DragonFlyBSD (+ fix OpenBSD, FreeBSD and Gentoo) #4396
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR:
pkg
). For our purpose they behave exactly the same way and have the same required commands so I just merged the two together like it's done for centos/fedora/...pkgin
is the default package manager now, the oldpkg_add
is not even configured by default. It is to be noted that OpenBSD's and NetBSD'spkg_info
/pkg_add
are two very different software, even if they have the same name.lang/elm
andmail/elm
exists butlang/elm
becomeshs-elm
when "packetized".Many packages in opam-repository right now have either one of the form (long names or short ones) and as it stands with opam 2.1 the long ones would not be detected on gentoo on freebsd and the short ones would not be detected on openbsd.
Side note: I only tested individual commands on those systems, not opam directly. More testing is needed if we want to ensure this works correctly.