app-arch/bzip2: ensure libbz2.so.1.0 gets installed

Package-Manager: Portage-2.3.96_p4, Repoman-2.3.22_p1
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2020-04-11 13:46:48 -04:00
parent a18a88ccff
commit 970736fe78
2 changed files with 15 additions and 0 deletions
+8
View File
@@ -71,6 +71,14 @@ multilib_src_install() {
for v in libbz2.so{,.{${PV%%.*},${PV%.*}}} ; do
dosym libbz2.so.${PV} /usr/$(get_libdir)/${v}
done
# Install libbz2.so.1.0 due to accidental soname change in 1.0.7.
# Reference: 98da0ad82192d21ad74ae52366ea8466e2acea24.
# OK to remove one year after 2020-04-11.
if [[ ! -L "${ED}/usr/$(get_libdir)/libbz2.so.1.0" ]]; then
dosym libbz2.so.${PV} "/usr/$(get_libdir)/libbz2.so.1.0"
fi
use static-libs && dolib.a libbz2.a
if multilib_is_native_abi ; then
+7
View File
@@ -36,6 +36,13 @@ multilib_src_compile() {
multilib_src_install() {
meson_src_install
# Install libbz2.so.1.0 due to accidental soname change in 1.0.7.
# Reference: 98da0ad82192d21ad74ae52366ea8466e2acea24.
# OK to remove one year after 2020-04-11.
if [[ ! -L "${ED}/usr/$(get_libdir)/libbz2.so.1.0" ]]; then
dosym libbz2.so.1 "/usr/$(get_libdir)/libbz2.so.1.0"
fi
if multilib_is_native_abi ; then
gen_usr_ldscript -a bz2