mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2024-12-26 08:52:16 +00:00
abuild: fix deps for versioned pkg-config deps
Fix version stripping when filtering out needed pkg-configs that are provided from same (sub)package.
This commit is contained in:
parent
09427f9c7c
commit
ec0a5ee93e
@ -1239,7 +1239,7 @@ scan_pkgconfig_depends() {
|
||||
| sed -E 's/\s*([<>=]+)\s*/\1/' \
|
||||
| while read pc; do
|
||||
# only add files that are not self provided
|
||||
if ! grep -q -w "^${pc%[<>=]*}" "$provides_pc"; then
|
||||
if ! grep -q -w "^${pc%%[<>=]*}" "$provides_pc"; then
|
||||
echo "$pc" >> "$controldir"/.needs-pc
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user