dd4f163b18
As indicated in the open issue [#1320](https://github.com/alire-project/alire/issues/1320) the detection of `gmp` does not work with `alr` with the Fedora Linux OS. This PR adds the suggested missing config line to detect the Fedora `gmp-devel` library. Tested by editing the local cache file `~/.config/alire/indexes/community/repo/index/li/libgmp/libgmp-external.toml` to add the line suggested in the open issue: ``` fedora = ["gmp-devel"] ```` The detection then works as expected, and the previously failing build of `libadalang` on Fedora 38 (x86_64) now works.
25 lines
690 B
TOML
25 lines
690 B
TOML
description = "The GNU Multiple Precision Arithmetic Library"
|
|
name = "libgmp"
|
|
licenses = "LGPL-3.0-only"
|
|
maintainers = ["derodat@adacore.com", "chouteau@adacore.com"]
|
|
maintainers-logins = ["pmderodat", "Fabien-Chouteau"]
|
|
|
|
[[external]]
|
|
kind = "system"
|
|
[external.origin."case(distribution)"]
|
|
"debian|ubuntu" = ["libgmp-dev"]
|
|
arch = ["gmp"]
|
|
msys2 = ["mingw-w64-x86_64-gmp"]
|
|
homebrew = ["gmp"]
|
|
macports = ["gmp"]
|
|
fedora = ["gmp-devel"]
|
|
|
|
[[external]]
|
|
kind = "version-output"
|
|
version-command = [ "pkg-config", "--modversion", "gmp" ]
|
|
version-regexp = "([\\d\\.]+)"
|
|
|
|
# pkg-config requires further steps to make packages findable by
|
|
# dependencies that Alire does not yet support
|
|
available = false
|