aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclassabbyamp <void@placeviolette.net>2024-03-12 19:38:34 +0000
committerclassabbyamp <5366828+classabbyamp@users.noreply.github.com>2024-03-12 20:03:59 +0000
commit5e9fb8708cb3b7bd70ab069534fba16521bc4ded (patch)
treefcdb4fddf08db822edea460aba95f2a4daab3fa2
parent476ca5c10b8ac0dc8799472244dd941d9553b1f3 (diff)
downloadvoid-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.tar
void-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.tar.gz
void-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.tar.bz2
void-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.tar.lz
void-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.tar.xz
void-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.tar.zst
void-packages-5e9fb8708cb3b7bd70ab069534fba16521bc4ded.zip
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
-rw-r--r--common/hooks/pre-pkg/04-generate-runtime-deps.sh4
1 files 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
}