xbps-src: change order of how subpackages are processed.
10 Non development packages are processed first lexically. 20 Development packages are processed after 10. This resolves the issue of 32bit pkg creation with development pkgs that depend on other non-development subpkgs, and result in wrong dependencies being propagated to the 32bit development pkgs.
This commit is contained in:
parent
daad2f509a
commit
5290c2a839
1 changed files with 6 additions and 1 deletions
|
@ -195,8 +195,13 @@ get_subpkgs() {
|
|||
while [ $# -gt 0 ]; do
|
||||
list+=" ${3%_package}"; shift 3
|
||||
done
|
||||
# first all non development pkgs ...
|
||||
for f in ${list}; do
|
||||
echo "$f"
|
||||
[[ $f =~ '-devel' ]] || echo "$f"
|
||||
done
|
||||
# ... and then only development pkgs
|
||||
for f in ${list}; do
|
||||
[[ $f =~ '-devel' ]] && echo "$f"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue