summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--abuild.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index dc72d79..703117c 100644
--- a/abuild.in
+++ b/abuild.in
@@ -999,7 +999,8 @@ subpkg_provides_so() {
}
subpkg_provides_pc() {
- grep -q -w "^$1" "$pkgbasedir"/.control.*/.provides-pc 2>/dev/null
+ grep -q -w "^${1%%[<>=]*}" "$pkgbasedir"/.control.*/.provides-pc \
+ 2>/dev/null
}
trace_apk_deps() {