Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
alpine
abuild
Commits
9d0a8124
Commit
9d0a8124
authored
May 06, 2010
by
Natanael Copa
Browse files
abuild: properly add $BUILD_BASE to dependency chain
We want build the toolchain and build tools first
parent
e3c46369
Changes
1
Hide whitespace changes
Inline
Side-by-side
abuild.in
View file @
9d0a8124
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment