diff --git a/abuild.in b/abuild.in index a81ac49..1f330b1 100644 --- a/abuild.in +++ b/abuild.in @@ -1077,7 +1077,8 @@ trace_apk_deps() { echo "# automatically detected:" >> "$dir"/.PKGINFO if [ -f "$dir"/.provides-so ]; then - sed 's/^\(.*\) \([0-9].*\)/provides = so:\1=\2/' "$dir"/.provides-so \ + sed 's/^\(.*\) \([0-9].*\)/provides = so:\1=\2/' \ + "$dir"/.provides-so | sort -u \ >> "$dir"/.PKGINFO fi if [ -f "$dir"/.provides-pc ]; then