While maintaing a rust application, I found a cargo.toml that specifies
the git URL with { git="https://..." }, cargo.mk expects a form like { git = "https://..." }.
This patch improve the regex making the spaces around the '=' optional
Details
Details
Build all the ports using the CARGO_USE_GIT[HUB|LAB]
List of origins found with
grep -Rl ^CARGO_USE_GIT...= | xargs dirname | sort
Diff Detail
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
All ports that are affected by this are tagged with CARGO_USE_GITHUB and CARGO_USE_GITLAB. Assuming those ports all build (or alternatively if you have checked that the contents of Cargo.toml are the same before and after) then this is approved if you remove the superfluous [].
Mk/Uses/cargo.mk | ||
---|---|---|
240 | Why do you wrap the space in []? [ starts a list of characters but there is only one char in there AFAICT. |