diff options
Diffstat (limited to 'abuild.in')
-rw-r--r-- | abuild.in | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -1721,14 +1721,12 @@ builddeps() { [ "$pkgname" = "${i%%[<>=]*}" ] && continue subpackages_has ${i%%[<>=]*} || builddeps="$builddeps $i" done - hostdeps="$makedepends_host" - for i in $depends; do + for i in $depends $makedepends_host; do [ "$pkgname" = "${i%%[<>=]*}" ] && continue subpackages_has ${i%%[<>=]*} || hostdeps="$hostdeps $i" done else - builddeps="$makedepends" - for i in $BUILD_BASE $depends; do + for i in $BUILD_BASE $depends $makedepends; do [ "$pkgname" = "${i%%[<>=]*}" ] && continue subpackages_has ${i%%[<>=]*} || builddeps="$builddeps $i" done @@ -1962,9 +1960,8 @@ post_add() { } deps() { - local builddeps i - builddeps="$makedepends" - for i in $depends; do + local builddeps= i + for i in $depends $makedepends; do [ "$pkgname" = "${i%%[<>=]*}" ] && continue subpackages_has ${i%%[<>=]*} || builddeps="$builddeps $i" done |