common/hooks/pre-pkg/04-generate-runtime-deps: partially revert sorting
only sort shlib-deps, as those are automatically found.
regular dependencies should not be sorted as that can mess with the
order for things like virtual packages or alternatives groups, notably
for gawk (needs to be before anything that depends on the awk virtual
package) and dash (needs to be before bash to select the correct sh
alternatives group).
partial revert of 5ec2556004
This commit is contained in:
parent
476ca5c10b
commit
5e9fb8708c
|
@ -40,8 +40,8 @@ store_pkgdestdir_rundeps() {
|
|||
-z "$($XBPS_UHELPER_CMD getpkgname ${_curdep} 2>/dev/null)" ]; then
|
||||
_curdep="${_curdep}>=0"
|
||||
fi
|
||||
printf -- "${_curdep}\n"
|
||||
done | sort | xargs > ${PKGDESTDIR}/rdeps
|
||||
printf "%s " "${_curdep}"
|
||||
done > "${PKGDESTDIR}/rdeps"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue