Skip to content

Commit

Permalink
libreadline macOS external (#976)
Browse files Browse the repository at this point in the history
* Add macOS support to libreadline.

"brew info readline" shows that the library is "keg-only", i.e. it's
not symlinked into Homebrew's normally-visible include/, lib/
folders. This doesn't matter for the main usage in Alire
(gnatcoll_readline), because it's only requirement is to link against
"-lreadline". On macOS this is provided by BSD libedit.

In that case, why bother installing it? To stop alr warning
"Generating possibly incomplete environment because of missing
dependencies".

  * index/li/libreadline/libreadline-external.toml: For Homebrew & MacPorts,
      the external package is "readline".

* Add libreadline support for Centos, Fedora

  * index/li/libreadline/libreadline-external.toml: as summary.
  • Loading branch information
simonjwright authored Jan 29, 2024
1 parent 785780a commit 753ebd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index/li/libreadline/libreadline-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ kind = "system"
[external.origin."case(distribution)"]
"debian|ubuntu" = ["libreadline-dev"]
msys2 = ["mingw-w64-x86_64-readline"]
"homebrew|macports" = ["readline"]
"centos|fedora" = ["readline-devel"]

0 comments on commit 753ebd5

Please sign in to comment.