summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2016-09-28 07:41:01 +0200
committerLars Wendler <polynomial-c@gentoo.org>2016-09-28 07:43:45 +0200
commit05f453771a206d4a2ecfedc5e670ec07ea68a6ab (patch)
tree3cab54422f7640120bc25366f88e28f95ad1941d
parentdev-ruby/term-ansicolor: add 1.4.0 (diff)
downloadgentoo-05f453771a206d4a2ecfedc5e670ec07ea68a6ab.tar.gz
gentoo-05f453771a206d4a2ecfedc5e670ec07ea68a6ab.tar.bz2
gentoo-05f453771a206d4a2ecfedc5e670ec07ea68a6ab.zip
sys-libs/readline: Re-added preserve_old_lib for bug #595324.
Package-Manager: portage-2.3.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--sys-libs/readline/readline-7.0.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys-libs/readline/readline-7.0.ebuild b/sys-libs/readline/readline-7.0.ebuild
index d504052c3de2..56fddcb95938 100644
--- a/sys-libs/readline/readline-7.0.ebuild
+++ b/sys-libs/readline/readline-7.0.ebuild
@@ -151,3 +151,12 @@ multilib_src_install_all() {
docinto ps
dodoc doc/*.ps
}
+pkg_preinst() {
+ # bug #29865
+ # Reappeared in #595324 with paludis so keeping this for now...
+ preserve_old_lib /$(get_libdir)/lib{history,readline}.so.{4,5,6}
+}
+
+pkg_postinst() {
+ preserve_old_lib_notify /$(get_libdir)/lib{history,readline}.so.{4,5,6}
+}