xbps-src: make it possible to override the subpackages list via ${subpackages}.
This overrides the automatic list generated by xbps-src and it's overridable to change the processing order of subpackages.
This commit is contained in:
@@ -293,7 +293,9 @@ setup_pkg() {
|
||||
fi
|
||||
|
||||
sourcepkg="${pkgname}"
|
||||
subpackages="$(get_subpkgs)"
|
||||
if [ -z "$subpackages" ]; then
|
||||
subpackages="$(get_subpkgs)"
|
||||
fi
|
||||
|
||||
if [ -h $XBPS_SRCPKGDIR/$pkg ]; then
|
||||
# Source all subpkg environment setup snippets.
|
||||
|
Reference in New Issue
Block a user