From cc752890fa3de6e0319847e353de84d7d37249d3 Mon Sep 17 00:00:00 2001 From: Sebastien Marie Date: Sat, 11 Jan 2025 08:13:17 +0000 Subject: [PATCH] depext: relax OpenBSD lookup for installed packages uses the whole list of installed packages for depext, and not only the packages manually installed. --- master_changes.md | 1 + src/state/opamSysInteract.ml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/master_changes.md b/master_changes.md index 45b56deb343..df59f70cd8d 100644 --- a/master_changes.md +++ b/master_changes.md @@ -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 diff --git a/src/state/opamSysInteract.ml b/src/state/opamSysInteract.ml index c8896d06494..5a712631cf8 100644 --- a/src/state/opamSysInteract.ml +++ b/src/state/opamSysInteract.ml @@ -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