Don't look for gprbuild from system provider. (#913)
* Don't look for gprbuild from system provider.
Because the manifest currently asks for Alire to attempt to download
gprbuild from the system package manager, alr <anything> spends
several fruitless seconds trying to find gprbuild.
* index/gp/gprbuild/gprbuild-external.toml: remove the 'system' external.
* macOS distributions don't provide gprbuild, others do.
* index/gp/gprbuild/gprbuild-external.toml: the "system" external isn't
available on macOS, so specify it explicitly for the other operating
systems.
This commit is contained in:
@@ -9,6 +9,10 @@ kind = "version-output"
|
||||
version-regexp = "^GPRBUILD ([\\d\\.-]+).*|^GPRBUILD Community ([\\d\\.-]+).*"
|
||||
version-command = ["gprbuild", "--version"]
|
||||
|
||||
# Neither macOS distribution (Homebrew, MacPorts) provides gprbuild.
|
||||
[[external]]
|
||||
kind = "system"
|
||||
origin = ["gprbuild"]
|
||||
[external.origin.'case(os)']
|
||||
"freebsd" = ["gprbuild"]
|
||||
"linux" = ["gprbuild"]
|
||||
"windows" = ["gprbuild"]
|
||||
|
||||
Reference in New Issue
Block a user