diff options
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 (){ |