From 5e9fb8708cb3b7bd70ab069534fba16521bc4ded Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Tue, 12 Mar 2024 15:38:34 -0400 Subject: 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 5ec2556004b445a7d50a043606619722c630fde4 --- common/hooks/pre-pkg/04-generate-runtime-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/hooks/pre-pkg/04-generate-runtime-deps.sh b/common/hooks/pre-pkg/04-generate-runtime-deps.sh index f9cef1395fd..488c8fc14ea 100644 --- a/common/hooks/pre-pkg/04-generate-runtime-deps.sh +++ b/common/hooks/pre-pkg/04-generate-runtime-deps.sh @@ -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 } -- cgit v1.2.3