From ec0a5ee93eb421e30c135057e49c395d9873a626 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Jun 2015 07:12:47 +0000 Subject: abuild: fix deps for versioned pkg-config deps Fix version stripping when filtering out needed pkg-configs that are provided from same (sub)package. --- abuild.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'abuild.in') diff --git a/abuild.in b/abuild.in index 703117c..0813dd3 100644 --- a/abuild.in +++ b/abuild.in @@ -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 -- cgit v1.2.3-70-g09d2