Skip to content

Commit

Permalink
Replace pkg-config with pkgconf when the distribution is brew (ocaml…
Browse files Browse the repository at this point in the history
…#26891)

* Homebrew has deprecated pkg-config. `brew install pkg-config` now
installs pkgconf. Accordingly, this PR adjusts the expectations
of `conf-pkg-config` to depend on `pkgconf`.

* conf-pkg-config: let's leave the old ones untouched

Signed-off-by: Marcello Seri <[email protected]>

---------

Signed-off-by: Marcello Seri <[email protected]>
Co-authored-by: Emma Jin <[email protected]>
  • Loading branch information
mseri and emjin authored Nov 14, 2024
1 parent ac1ca8a commit 01aa7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/conf-pkg-config/conf-pkg-config.3/opam
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ depexts: [
["pkgconfig"] {os-distribution = "ol" & os-version <= "7"}
["pkgconf"] {os-distribution = "alpine"}
["pkg-config"] {os-distribution = "nixos"}
["pkg-config"] {os = "macos" & os-distribution = "homebrew"}
["pkgconf"] {os = "macos" & os-distribution = "homebrew"}
["pkgconfig"] {os = "macos" & os-distribution = "macports"}
["pkgconf"] {os = "freebsd"}
["pkgconf-pkg-config"] {os-distribution = "rhel" & os-version >= "8"}
Expand Down

0 comments on commit 01aa7e5

Please sign in to comment.