summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index 3acec46..207cc66 100755
--- a/abuild.in
+++ b/abuild.in
@@ -919,8 +919,11 @@ trace_apk_deps() {
fi
done
- [ -z "$autodeps" ] && return 0
echo "# automatically detected:" >> "$dir"/.PKGINFO
+ if [ -f "$dir"/.provides-so ]; then
+ sed 's/^/provides = /' "$dir"/.provides-so >> "$dir"/.PKGINFO
+ fi
+ [ -z "$autodeps" ] && return 0
for i in $autodeps; do
echo "depend = $i" >> "$dir"/.PKGINFO
done