Commit 98fe44cb authored by Natanael Copa's avatar Natanael Copa

abuild: also install 'depends' with 'abuild deps'

fixes #2270
parent beb15ad8
......@@ -1732,10 +1732,15 @@ post_add() {
}
deps() {
local deps i
local builddeps i
builddeps="$makedepends"
for i in $depends; do
[ "$pkgname" = "${i%%[<>=]*}" ] && continue
subpackages_has ${i%%[<>=]*} || builddeps="$builddeps $i"
done
$SUDO_APK add $apk_opt_wait --repository "$abuildrepo" \
--virtual .makedepends-$pkgname \
$makedepends
$builddeps
}
undeps (){
......
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