Commit 779ff407 authored by Natanael Copa's avatar Natanael Copa

abuild: filter out conflicts when building dependencies

parent 0dff05bd
......@@ -481,9 +481,17 @@ depparse_aports() {
makedepends=
. $i
dir=${i%/APKBUILD}
deps=
# filter out conflicts from deps
for j in $depends $makedepends; do
case "$j" in
!*) continue;;
esac
deps="$deps $j"
done
for j in $pkgname $subpackages; do
echo "o ${j%%:*} $dir"
set -- $depends $makedepends
set -- $deps
echo -n "d ${j%%:*} $1"
shift
while [ $# -gt 0 ]; do
......
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