diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-06 18:38:13 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-06 18:38:13 +0000 |
commit | 9d0a812458ee8fd18b85cf4edcc52e942e40f06b (patch) | |
tree | 5d48d1eaf07bfb37fa0d4b3d45ad0add9efc7c11 /abuild.in | |
parent | e3c46369fd33b9a83447802dbe5b61f895f80b88 (diff) | |
download | abuild-9d0a812458ee8fd18b85cf4edcc52e942e40f06b.tar.gz abuild-9d0a812458ee8fd18b85cf4edcc52e942e40f06b.tar.bz2 abuild-9d0a812458ee8fd18b85cf4edcc52e942e40f06b.tar.xz abuild-9d0a812458ee8fd18b85cf4edcc52e942e40f06b.zip |
abuild: properly add $BUILD_BASE to dependency chain
We want build the toolchain and build tools first
Diffstat (limited to 'abuild.in')
-rwxr-xr-x | abuild.in | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -807,10 +807,10 @@ builddeps() { local filtered_deps= [ -n "$nodeps" ] && return 0 msg "Analyzing dependencies..." - deps="$BUILD_BASE $makedepends" - # add depends unless it is a subpackage - for i in $depends; do + # add depends unless it is a subpackage or package itself + for i in $BUILD_BASE $depends $makedepends; do + [ "$pkgname" = "${i%%[<>=]*}" ] && continue subpackages_has ${i%%[<>=]*} || deps="$deps $i" done |