Commit e524bc68 authored by Natanael Copa's avatar Natanael Copa

abuild: improve output messages for dep tracing

parent 9c5ab15b
......@@ -526,7 +526,7 @@ trace_apk_deps() {
# add pkgconfig if usr/lib/pkgconfig is found
if [ -d "$pkgbasedir"/$name/usr/lib/pkgconfig ] \
&& ! grep -q '^depend = pkgconfig' "$dir"/.PKGINFO; then
msg "Added pkgconfig as dependency"
msg " added pkgconfig (found /usr/lib/pkgconfig)"
autodeps="$autodeps pkgconfig"
fi
......@@ -534,7 +534,7 @@ trace_apk_deps() {
if grep -q -w '^libpthread.so.*' "$dir"/.needs-so 2>/dev/null \
&& ! grep -q -w "^depend = libgcc" "$dir"/.PKGINFO; then
autodeps="$autodeps libgcc"
msg "Added libgcc as dependency due to libpthread"
msg " added libgcc (due to libpthread)"
fi
for i in $(cat "$dir"/.needs-so 2>/dev/null); do
found=
......@@ -565,7 +565,7 @@ trace_apk_deps() {
fi
if [ "$found" != "$name" ] && ! list_has "$found" $autodeps; then
autodeps="$autodeps $found"
msg "Added '$found' as dependency"
msg " added $found"
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment