While looking at libexpat-external.toml
with a view to updating it for macOS, I found that there was no need, because it’s already provided by macOS in the SDK.
alr update
says
warn: The following external dependencies are unavailable within Alire:
warn: libexpat*
warn: They should be made available in the environment by the user.
I find that if I add
--- a/index/li/libexpat/libexpat-external.toml
+++ b/index/li/libexpat/libexpat-external.toml
@@ -11,3 +11,8 @@ kind = "system"
"debian|ubuntu" = ["libexpat1-dev"]
arch = ["expat"]
msys2 = ["mingw-w64-x86_64-expat"]
+
+[[external]]
+kind = "hint"
+hint = ["native on macOS"]
alr update
says
warn: The following external dependencies are unavailable within Alire:
warn: libexpat*
warn: Hint: native on macOS
warn: They should be made available in the environment by the user.
which should reduce any anxiety felt by users.
I did an experiment, and as far as I can tell alr
will only output the hint if it hasn’t found a system external. Is this the case?
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too