summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Skala <mskala@gmx.com>2023-06-28 17:25:00 +0200
committerSam James <sam@gentoo.org>2023-06-28 17:20:04 +0100
commita8d934769ffbdcab11a222ca978aad6b2ca2ee2e (patch)
tree4757f4545b6ff5dfee3b37e21aeafa7fde8410f3 /app-arch
parentdev-db/mariadb: Stabilize 10.4.30 arm, #909332 (diff)
downloadgentoo-a8d934769ffbdcab11a222ca978aad6b2ca2ee2e.tar.gz
gentoo-a8d934769ffbdcab11a222ca978aad6b2ca2ee2e.tar.bz2
gentoo-a8d934769ffbdcab11a222ca978aad6b2ca2ee2e.zip
app-arch/bzip2: add .exe support
Signed-off-by: Matija Skala <mskala@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/31656 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-arch')
-rw-r--r--app-arch/bzip2/bzip2-1.0.8-r4.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/app-arch/bzip2/bzip2-1.0.8-r4.ebuild b/app-arch/bzip2/bzip2-1.0.8-r4.ebuild
index 8486a465d48f..ac04791c8535 100644
--- a/app-arch/bzip2/bzip2-1.0.8-r4.ebuild
+++ b/app-arch/bzip2/bzip2-1.0.8-r4.ebuild
@@ -7,7 +7,7 @@
EAPI=7
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bzip2.gpg
-inherit toolchain-funcs multilib-minimal usr-ldscript verify-sig
+inherit toolchain-funcs multilib multilib-minimal usr-ldscript verify-sig
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
HOMEPAGE="https://sourceware.org/bzip2/"
@@ -91,9 +91,9 @@ multilib_src_install() {
if multilib_is_native_abi ; then
gen_usr_ldscript -a bz2
- dobin bzip2recover
+ dobin bzip2recover$(get_exeext)
into /
- newbin bzip2 bzip2-reference
+ newbin bzip2$(get_exeext) bzip2-reference$(get_exeext)
fi
}
@@ -129,7 +129,7 @@ pkg_postinst() {
local x
for x in bzip2 bunzip2 bzcat; do
if [[ ! -h ${EROOT}/bin/${x} ]]; then
- ln -s bzip2-reference "${EROOT}/bin/${x}" || die
+ ln -s bzip2-reference$(get_exeext) "${EROOT}/bin/${x}$(get_exeext)" || die
fi
done
}