diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-12 07:12:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-06-12 07:12:47 +0000 |
commit | ec0a5ee93eb421e30c135057e49c395d9873a626 (patch) | |
tree | 6018bc819600a85f92ae10077cc7926450b92cb5 | |
parent | 09427f9c7ceef26ad0c309f9f0af2087922ae59c (diff) | |
download | abuild-ec0a5ee93eb421e30c135057e49c395d9873a626.tar.gz abuild-ec0a5ee93eb421e30c135057e49c395d9873a626.tar.bz2 abuild-ec0a5ee93eb421e30c135057e49c395d9873a626.tar.xz abuild-ec0a5ee93eb421e30c135057e49c395d9873a626.zip |
abuild: fix deps for versioned pkg-config deps
Fix version stripping when filtering out needed pkg-configs that are
provided from same (sub)package.
-rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |