diff options
author | Sam James <sam@gentoo.org> | 2021-11-18 00:45:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-19 03:02:40 +0000 |
commit | bd2656625bf0ed0b05e5b6de9ead4a73f09c58fe (patch) | |
tree | eb7fd4cba38f6151ee5e01bb40d27c1c4ef4567f /sys-libs/musl/musl-9999.ebuild | |
parent | sys-libs/musl: make ldconfig script respect -r (diff) | |
download | gentoo-bd2656625bf0ed0b05e5b6de9ead4a73f09c58fe.tar.gz gentoo-bd2656625bf0ed0b05e5b6de9ead4a73f09c58fe.tar.bz2 gentoo-bd2656625bf0ed0b05e5b6de9ead4a73f09c58fe.zip |
sys-libs/musl: additional ROOT fixes for ldconfig
Move around some declarations so we get sensible default
values but only perform the sanity checks _after_ we
parse command line arguments to take into account e.g.
-r (root).
Bug: https://bugs.gentoo.org/666246
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/musl/musl-9999.ebuild')
-rw-r--r-- | sys-libs/musl/musl-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild index 1ba86e7846fb..0d528e720587 100644 --- a/sys-libs/musl/musl-9999.ebuild +++ b/sys-libs/musl/musl-9999.ebuild @@ -137,7 +137,7 @@ src_install() { [[ -e "${ED}"/lib/ld-musl-${arch}.so.1 ]] || die fi - cp "${FILESDIR}"/ldconfig.in "${T}" || die + cp "${FILESDIR}"/ldconfig.in "${T}"/ldconfig.in || die sed -e "s|@@ARCH@@|${arch}|" "${T}"/ldconfig.in > "${T}"/ldconfig || die into / dosbin "${T}"/ldconfig |