1 |
commit: f83add3a865a9cd4b074d98becb907000acce4d1 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 18 23:05:19 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 18 23:09:31 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f83add3a |
7 |
|
8 |
sys-libs/readline: Readded preserve_old_libs call. |
9 |
|
10 |
Arfrever told me that pkgcore still has no such functionality. |
11 |
|
12 |
Thanks-to: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org> |
13 |
Package-Manager: Portage-2.3.71, Repoman-2.3.17 |
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
sys-libs/readline/readline-8.0_p1.ebuild | 11 ++++++++++- |
17 |
1 file changed, 10 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/sys-libs/readline/readline-8.0_p1.ebuild b/sys-libs/readline/readline-8.0_p1.ebuild |
20 |
index cb270f8f0e2..b000aa3b553 100644 |
21 |
--- a/sys-libs/readline/readline-8.0_p1.ebuild |
22 |
+++ b/sys-libs/readline/readline-8.0_p1.ebuild |
23 |
@@ -3,7 +3,7 @@ |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
-inherit flag-o-matic multilib-minimal toolchain-funcs usr-ldscript |
28 |
+inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript |
29 |
|
30 |
# Official patches |
31 |
# See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/ |
32 |
@@ -164,3 +164,12 @@ multilib_src_install_all() { |
33 |
docinto ps |
34 |
dodoc doc/*.ps |
35 |
} |
36 |
+pkg_preinst() { |
37 |
+ # bug #29865 |
38 |
+ # Reappeared in #595324 with paludis so keeping this for now... |
39 |
+ preserve_old_lib /$(get_libdir)/lib{history,readline}.so.{4,5,6,7} |
40 |
+} |
41 |
+ |
42 |
+pkg_postinst() { |
43 |
+ preserve_old_lib_notify /$(get_libdir)/lib{history,readline}.so.{4,5,6,7} |
44 |
+} |