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