summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-11-15 07:18:51 +0000
committerSam James <sam@gentoo.org>2021-11-15 07:19:29 +0000
commit6be6a952bef5e640dd3a49fb447e5858e967ec8f (patch)
tree694d8ab1f9b8d92a50aaa3a18c7f74fd1caafd85 /sys-libs/musl
parentprofiles/package.mask last-rite dev-java/milton{,-mail}-api (diff)
downloadgentoo-6be6a952bef5e640dd3a49fb447e5858e967ec8f.tar.gz
gentoo-6be6a952bef5e640dd3a49fb447e5858e967ec8f.tar.bz2
gentoo-6be6a952bef5e640dd3a49fb447e5858e967ec8f.zip
sys-libs/musl: use ${ED} not ${D} in sysroot hack
Need to ensure the rest of the ebuild is Prefix ready anyway but there's no reason to make it worse with stuff we recently added, so let's use ${ED} there. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/musl')
-rw-r--r--sys-libs/musl/musl-1.2.2-r4.ebuild4
-rw-r--r--sys-libs/musl/musl-9999.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys-libs/musl/musl-1.2.2-r4.ebuild b/sys-libs/musl/musl-1.2.2-r4.ebuild
index 0fe2c8c9a67b..bb9c60c348d0 100644
--- a/sys-libs/musl/musl-1.2.2-r4.ebuild
+++ b/sys-libs/musl/musl-1.2.2-r4.ebuild
@@ -128,7 +128,7 @@ src_install() {
# and print $(ARCH)$(SUBARCH).
local arch=$(awk '{ k[$1] = $3 } END { printf("%s%s", k["ARCH"], k["SUBARCH"]); }' config.mak)
- if [[ ! -e "${D}"/lib/ld-musl-${arch}.so.1 ]] ; then
+ if [[ ! -e "${ED}"/lib/ld-musl-${arch}.so.1 ]] ; then
# During cross (using crossdev), when emerging sys-libs/musl,
# if /usr/lib/libc.so.1 doesn't exist on the system, installation
# would fail.
@@ -141,7 +141,7 @@ src_install() {
dosym8 -r /usr/lib/libc.so.1 /lib/ld-musl-${arch}.so.1
# If it's still a dead symlnk, OK, we really do need to abort.
- [[ -e "${D}"/lib/ld-musl-${arch}.so.1 ]] || die
+ [[ -e "${ED}"/lib/ld-musl-${arch}.so.1 ]] || die
fi
cp "${FILESDIR}"/ldconfig.in "${T}" || die
diff --git a/sys-libs/musl/musl-9999.ebuild b/sys-libs/musl/musl-9999.ebuild
index 5736eadc0fb4..6406ba1a6633 100644
--- a/sys-libs/musl/musl-9999.ebuild
+++ b/sys-libs/musl/musl-9999.ebuild
@@ -121,7 +121,7 @@ src_install() {
# and print $(ARCH)$(SUBARCH).
local arch=$(awk '{ k[$1] = $3 } END { printf("%s%s", k["ARCH"], k["SUBARCH"]); }' config.mak)
- if [[ ! -e "${D}"/lib/ld-musl-${arch}.so.1 ]] ; then
+ if [[ ! -e "${ED}"/lib/ld-musl-${arch}.so.1 ]] ; then
# During cross (using crossdev), when emerging sys-libs/musl,
# if /usr/lib/libc.so.1 doesn't exist on the system, installation
# would fail.
@@ -134,7 +134,7 @@ src_install() {
dosym8 -r /usr/lib/libc.so.1 /lib/ld-musl-${arch}.so.1
# If it's still a dead symlnk, OK, we really do need to abort.
- [[ -e "${D}"/lib/ld-musl-${arch}.so.1 ]] || die
+ [[ -e "${ED}"/lib/ld-musl-${arch}.so.1 ]] || die
fi
cp "${FILESDIR}"/ldconfig.in "${T}" || die