abuild: fix recursive building
fixes bug introduced with c6b0de32a (abuild: add makedepends_build and makedepends_host for crosscompile)
This commit is contained in:
parent
23c760b499
commit
a2bab13656
@ -1610,7 +1610,7 @@ builddeps() {
|
|||||||
[ -z "$recursive" ] && return 1
|
[ -z "$recursive" ] && return 1
|
||||||
|
|
||||||
# find dependencies that are installed but missing in repo.
|
# find dependencies that are installed but missing in repo.
|
||||||
for i in $deps; do
|
for i in $builddeps; do
|
||||||
local m=$($APK search --repository "$abuildrepo" ${i%%[<>=]*})
|
local m=$($APK search --repository "$abuildrepo" ${i%%[<>=]*})
|
||||||
if [ -z "$m" ]; then
|
if [ -z "$m" ]; then
|
||||||
missing="$missing $i"
|
missing="$missing $i"
|
||||||
@ -1635,7 +1635,7 @@ builddeps() {
|
|||||||
done
|
done
|
||||||
$SUDO_APK add --upgrade --repository "$abuildrepo" \
|
$SUDO_APK add --upgrade --repository "$abuildrepo" \
|
||||||
$apk_opt_wait \
|
$apk_opt_wait \
|
||||||
--virtual .makedepends-$pkgname $deps
|
--virtual .makedepends-$pkgname $builddeps
|
||||||
}
|
}
|
||||||
|
|
||||||
# replace the md5sums in the APKBUILD
|
# replace the md5sums in the APKBUILD
|
||||||
|
Loading…
x
Reference in New Issue
Block a user