Skip to content

Commit

Permalink
Merge pull request #6362 from semarie/openbsd-pkg_info
Browse files Browse the repository at this point in the history
depext: relax OpenBSD lookup for installed packages
  • Loading branch information
kit-ty-kate authored Jan 15, 2025
2 parents 3a841b9 + af7e8e0 commit f36a1c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions master_changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ users)
## External dependencies
* Add apt-rpm/ALTLinux family support for depext [#6207 @RiderALT]
* Lookup at `gpatch` before `patch` on macOS now that both homebrew and macports expose `gpatch` as `gpatch` since Homebrew/homebrew-core#174687 [#6255 @kit-ty-kate]
* Relax lookup on OpenBSD to consider all installed packages [#6362 @semarie]

## Format upgrade

Expand Down
2 changes: 1 addition & 1 deletion src/state/opamSysInteract.ml
Original file line number Diff line number Diff line change
Expand Up @@ -974,7 +974,7 @@ let packages_status ?(env=OpamVariable.Map.empty) config packages =
compute_sets sys_installed
| Openbsd ->
let sys_installed =
run_query_command "pkg_info" ["-mqP"]
run_query_command "pkg_info" ["-qP"]
|> package_set_of_pkgpath
in
compute_sets sys_installed
Expand Down

0 comments on commit f36a1c8

Please sign in to comment.