Package-Manager: Portage-2.3.96_p4, Repoman-2.3.22_p1
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
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
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