Skip to content

Commit a8d9347

Browse files
matijaskalathesamesam
authored andcommitted
app-arch/bzip2: add .exe support
Signed-off-by: Matija Skala <mskala@gmx.com> Closes: #31656 Signed-off-by: Sam James <sam@gentoo.org>
1 parent 63e19a2 commit a8d9347

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app-arch/bzip2/bzip2-1.0.8-r4.ebuild

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
EAPI=7
88

99
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/bzip2.gpg
10-
inherit toolchain-funcs multilib-minimal usr-ldscript verify-sig
10+
inherit toolchain-funcs multilib multilib-minimal usr-ldscript verify-sig
1111

1212
DESCRIPTION="A high-quality data compressor used extensively by Gentoo Linux"
1313
HOMEPAGE="https://sourceware.org/bzip2/"
@@ -91,9 +91,9 @@ multilib_src_install() {
9191
if multilib_is_native_abi ; then
9292
gen_usr_ldscript -a bz2
9393

94-
dobin bzip2recover
94+
dobin bzip2recover$(get_exeext)
9595
into /
96-
newbin bzip2 bzip2-reference
96+
newbin bzip2$(get_exeext) bzip2-reference$(get_exeext)
9797
fi
9898
}
9999

@@ -129,7 +129,7 @@ pkg_postinst() {
129129
local x
130130
for x in bzip2 bunzip2 bzcat; do
131131
if [[ ! -h ${EROOT}/bin/${x} ]]; then
132-
ln -s bzip2-reference "${EROOT}/bin/${x}" || die
132+
ln -s bzip2-reference$(get_exeext) "${EROOT}/bin/${x}$(get_exeext)" || die
133133
fi
134134
done
135135
}

0 commit comments

Comments
 (0)