1 |
commit: 81b6cd73020f83450cdf666002a773d8c58b6f39 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 27 15:31:57 2018 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 27 15:31:57 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=81b6cd73 |
7 |
|
8 |
sys-libs/readline: sync with gx86 |
9 |
|
10 |
Package-Manager: Portage-2.3.52.2-prefix, Repoman-2.3.12 |
11 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
12 |
|
13 |
sys-libs/readline/Manifest | 6 + |
14 |
.../readline/files/readline-5.0-no_rpath.patch | 4 +- |
15 |
.../readline/files/readline-5.2-ia64hpux.patch | 4 +- |
16 |
.../files/readline-5.2-rlfe-aix-eff_uid.patch | 4 +- |
17 |
.../readline/files/readline-5.2-rlfe-hpux.patch | 4 +- |
18 |
.../readline/files/readline-6.0-rlfe-solaris.patch | 4 +- |
19 |
.../readline/files/readline-6.1-aix-expfull.patch | 6 +- |
20 |
.../readline/files/readline-6.1-aix-soname.patch | 6 +- |
21 |
sys-libs/readline/files/readline-7.0-headers.patch | 24 + |
22 |
sys-libs/readline/files/readline-7.0-libtool.patch | 745 +++++++++++++++++++++ |
23 |
sys-libs/readline/files/readline-7.0-mingw.patch | 152 +++++ |
24 |
.../files/readline-7.0-missing-echo-proto.patch | 14 + |
25 |
sys-libs/readline/readline-7.0_p5.ebuild | 215 ++++++ |
26 |
13 files changed, 1174 insertions(+), 14 deletions(-) |
27 |
|
28 |
diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest |
29 |
index 277d1db2f9..8b437c12ad 100644 |
30 |
--- a/sys-libs/readline/Manifest |
31 |
+++ b/sys-libs/readline/Manifest |
32 |
@@ -1,5 +1,6 @@ |
33 |
DIST host-libtool-0.1.0.tar.gz 388867 BLAKE2B e8bfd1212f39d6262721c4a12535799f4e3428b83f3174bac373c15813462950218dd689380ab8caaf84186b60c29a1fafadfa1c2d0e5cb7f76f6d1699bdcabc SHA512 d8764d7814abf06556fb6eb19c12c2de1d1dc9f2f325deae55606ddfcf88963d65713d6fbd1fae0ab1a0668d90f84204e1cdcbd557944660ab01ecfe3a824ca5 |
34 |
DIST readline-6.3.tar.gz 2468560 BLAKE2B 24488ec141734c050ba985a93423692396f105619bae3ce5b109bc68a4f43862bcf3a6fb8d82fec1145d665cdb408765e179379bb35f008d09c441fa2e5739df SHA512 f70efaf46d570b85c7637172b0ee2eb9a4aa73ba38a62bb45075e665929d9701b96fba0aea6c767fd9a2a0d39dfe8e70ab06da08f8524aee76a7c502f370a401 |
35 |
+DIST readline-7.0.tar.gz 2910016 BLAKE2B 679b8aa7ce003017b729e6d8d4cb69d0f991578441a3e69005090079e61f6aa48b7ad4d0b1f34b6041528cf33254a1bf3ddb05b60db53a06e443d7922d49d0d4 SHA512 18243189d39bf0d4c8a76cddcce75243c1bae8824c686e9b6ba352667607e5b10c5feb79372a1093c1c388d821841670702e940df12eae94bcebdeed90047870 |
36 |
DIST readline63-001 1366 BLAKE2B 82af5be99597719329db3f1d6049e75a5654ccf6597cf557c71ad7ada0ac03be87381a7738931eb78716de65902ae87498f574b84150a69eae9cc308c4bfffdd SHA512 e70f89ca52a4eae7e1cddd70de6a7162252231ee029c89bb3fcb0f6c8c8b46c666be910c8b2eee72e96983ec2f1a23663694dc222f67228d82e8e4684f1504a2 |
37 |
DIST readline63-002 1297 BLAKE2B 5ace4a81381910ee48dee8cdbb2ca95a1bef2d1f8acca6d39a910c078c86de10a0fc29486939b336110ecb0281b3edb16e4b985f41e7ee161904728f289fff04 SHA512 4e23bd67433577e6e361d10a6c32768ea9e13b10e77493e565b870f56069b673fbcb0b860225f79fa9931845fc91d35c9a82c1385c23f8b757ebfd59f27851f4 |
38 |
DIST readline63-003 985 BLAKE2B cf2cda505b100d5f820d8bfc99eed6b50e65c92b6a495073352fc7385c6456478594e5c2dc293ce556b66853dff705050fb97982aa25fce452ae53d2cb272cf4 SHA512 6bfb84a5b980091b995e2b96bdf5680f97fe670e6cac1b8606d2d75a1ef922ff5bd4e73f029f7af98a115006b7ab7828146f2cd6986287543d8a29987c91dc12 |
39 |
@@ -8,3 +9,8 @@ DIST readline63-005 1664 BLAKE2B f98f62be8676aca81b91d919bc4eccfe40c382a8baab0e6 |
40 |
DIST readline63-006 1982 BLAKE2B ad6d16ff769eb8e367cf961ffe152c04778b046a04e4a62e0ce21d08fa16b0eca3d278dbdc274b082d24fa2ec959ffb62168ea7693b4de94b59a4526b1f0c4a2 SHA512 e9fbfa38d7b03ab2aff2e9e48918b85b4b67a729862ee47d1cc8e0aeb90c3224394a79f68829951e1377cae65742aa5385eae865f75e9c0b2e2abde42889431c |
41 |
DIST readline63-007 1428 BLAKE2B 60e64c2dd36457e3992cfbfbbcc261337e515be360a37d71b9de236c62c781f10f0ec37e4e196b4634e5d547edebbf915370091ca42fff873b78cd80cfe3a7f2 SHA512 abee331894846b360203a521d9a66fa02c03214120d5cafbd1cb4d680bd7bbef14321ae845dd67f7b5e8c87322801fd96fc9a5fd0ae026b41d98dc24a8949854 |
42 |
DIST readline63-008 1452 BLAKE2B 4e41c45be1479fba9f74bf9cedb8d1f6237e650962d5b45ea1a61cc48a8323a0fa60d76f68c011b6e7c73a1078b5ff80f9966e983b994f814d471d0efd9efde6 SHA512 8e30bbca3aa5cea8c2ee511abe0ec8f131608d74fe5ab24d68bcf452267f0f97446ed6e7cd482360876ce6c027280e4f4450cae05eb18f56046240f4c224841c |
43 |
+DIST readline70-001 1777 BLAKE2B ab217bd9d27f30351397db2b745cb33ac7e0ce18bbc00112bb87570da0f62ee0e8d182395c97e4ecc21af51e7e1e580ba48076de1095c556f0744475e4019821 SHA512 4402186905af8cd42c609d640c2e13b9ad61c7778e5a3fd2c2d9da301f0deab05b04d7836f31527262f44f406517823dbb18cb07f2c73931186c806b494699ec |
44 |
+DIST readline70-002 2953 BLAKE2B 47d729b1babe904855fe5d4f780a5b2153a743def527479c3cb82759cdee5bb4260be722e1050be680f5c0dd6dec8ca25c4c1ff557415abae6b3fac2bd481f0b SHA512 13d1489578508d4d2c3a1618024198a709dbce74a6bbf0f6d7ec67d2419c55bfec9f0ca9de0ed93f129d21d5c3a94307ccdc49408455bbb301c5e3a772b03185 |
45 |
+DIST readline70-003 1294 BLAKE2B 9473e18b582fba69cea83e3f5b9fa278dd8b0544325439307d2b4053cbeca8d2f008104bee181ae5d9405d702e6d3bcf26379c4d46e269906474c8544367b780 SHA512 eaf962a1480eb3870519017b81ecc5cef171e4c41fcf8c17da61ccbfd0379ed6bca85c17b03e2207ae4d51509f33fd010294c75f4bd0433a52118015d4160385 |
46 |
+DIST readline70-004 1501 BLAKE2B cebce69a21bee3a4d6a908de09f371d65eab6af51a8dc0f58fc915b916957db420252ce07b06703c05d984f62e1e849b6975f5444b2af6ba35ff7c939acf9d99 SHA512 7be41558eab3b88a3657f8589ecfaff0b8ee7f59083d385f50e8704fe830e05a50652a5feda19ff1f3cfd98bff4bb8e25e1637ec4dac8a618db9c8220a3d954e |
47 |
+DIST readline70-005 1641 BLAKE2B f720508f698b113c6328018f7e6e8775c7c79afc464047405a5c3dae017d611535017dfc2759c11483bb536fab1e9bf72c7a9d3c769b7aea3bd2cee9686bd522 SHA512 eeb27f4f9195cb905d5891f26480d58f59c885dde3457f7a30ff57760ac772e2333ee8aeae979214949f3b52030285b10db013e307ee7311abab677a4427e878 |
48 |
|
49 |
diff --git a/sys-libs/readline/files/readline-5.0-no_rpath.patch b/sys-libs/readline/files/readline-5.0-no_rpath.patch |
50 |
index 624b2d7dea..befad63e42 100644 |
51 |
--- a/sys-libs/readline/files/readline-5.0-no_rpath.patch |
52 |
+++ b/sys-libs/readline/files/readline-5.0-no_rpath.patch |
53 |
@@ -1,7 +1,7 @@ |
54 |
ripped from Fedora |
55 |
|
56 |
---- support/shobj-conf |
57 |
-+++ support/shobj-conf |
58 |
+--- a/support/shobj-conf |
59 |
++++ b/support/shobj-conf |
60 |
@@ -102,7 +102,7 @@ |
61 |
SHOBJ_LD='${CC}' |
62 |
SHOBJ_LDFLAGS='-shared -Wl,-soname,$@' |
63 |
|
64 |
diff --git a/sys-libs/readline/files/readline-5.2-ia64hpux.patch b/sys-libs/readline/files/readline-5.2-ia64hpux.patch |
65 |
index 6f0ed743ec..3c340e9f2b 100644 |
66 |
--- a/sys-libs/readline/files/readline-5.2-ia64hpux.patch |
67 |
+++ b/sys-libs/readline/files/readline-5.2-ia64hpux.patch |
68 |
@@ -1,5 +1,5 @@ |
69 |
---- support/shobj-conf.orig 2008-02-06 09:37:12 +0100 |
70 |
-+++ support/shobj-conf 2008-02-06 09:38:30 +0100 |
71 |
+--- a/support/shobj-conf 2008-02-06 09:37:12 +0100 |
72 |
++++ b/support/shobj-conf 2008-02-06 09:38:30 +0100 |
73 |
@@ -363,7 +363,10 @@ |
74 |
SHOBJ_LDFLAGS='-shared -fpic -Wl,-b -Wl,+s -Wl,+h,$@' |
75 |
|
76 |
|
77 |
diff --git a/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch b/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch |
78 |
index 96f45b2305..cc6e730718 100644 |
79 |
--- a/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch |
80 |
+++ b/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch |
81 |
@@ -4,8 +4,8 @@ |
82 |
on pure luck that it is defined in one of the includes, just use the |
83 |
function that was made for this purpose of retrieving the value. |
84 |
|
85 |
---- examples/rlfe/pty.c |
86 |
-+++ examples/rlfe/pty.c |
87 |
+--- a/examples/rlfe/pty.c |
88 |
++++ b/examples/rlfe/pty.c |
89 |
@@ -70,7 +70,7 @@ |
90 |
# undef HAVE_SVR4_PTYS |
91 |
#endif |
92 |
|
93 |
diff --git a/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch b/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch |
94 |
index c491d39acd..2742b77217 100644 |
95 |
--- a/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch |
96 |
+++ b/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch |
97 |
@@ -1,5 +1,5 @@ |
98 |
---- examples/rlfe/os.h.orig 2007-11-20 10:33:49 +0100 |
99 |
-+++ examples/rlfe/os.h 2007-11-20 10:36:25 +0100 |
100 |
+--- a/examples/rlfe/os.h 2007-11-20 10:33:49 +0100 |
101 |
++++ b/examples/rlfe/os.h 2007-11-20 10:36:25 +0100 |
102 |
@@ -426,7 +426,7 @@ |
103 |
#define SIGCHLD SIGCLD |
104 |
#endif |
105 |
|
106 |
diff --git a/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch b/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch |
107 |
index 63fc2f32c2..cff94ebe15 100644 |
108 |
--- a/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch |
109 |
+++ b/sys-libs/readline/files/readline-6.0-rlfe-solaris.patch |
110 |
@@ -1,8 +1,8 @@ |
111 |
<grobian@g.o>: |
112 |
* Panic is just used, but never defined or included (at least not on Solaris) |
113 |
|
114 |
---- examples/rlfe/pty.c |
115 |
-+++ examples/rlfe/pty.c |
116 |
+--- a/examples/rlfe/pty.c |
117 |
++++ b/examples/rlfe/pty.c |
118 |
@@ -54,6 +54,11 @@ |
119 |
# include <sys/sysmacros.h> |
120 |
#endif /* sgi */ |
121 |
|
122 |
diff --git a/sys-libs/readline/files/readline-6.1-aix-expfull.patch b/sys-libs/readline/files/readline-6.1-aix-expfull.patch |
123 |
index b671cfe4cb..eada6fa6a7 100644 |
124 |
--- a/sys-libs/readline/files/readline-6.1-aix-expfull.patch |
125 |
+++ b/sys-libs/readline/files/readline-6.1-aix-expfull.patch |
126 |
@@ -1,9 +1,11 @@ |
127 |
+Michael Haubenwallner: |
128 |
+ |
129 |
On AIX, -bexpall does not export symbols starting with '_', and we get |
130 |
ld: 0711-317 ERROR: Undefined symbol: _rl_echoing_p |
131 |
With -bexpfull, all symbols are exported. |
132 |
|
133 |
---- support/shobj-conf.orig 2010-01-25 13:02:55 +0100 |
134 |
-+++ support/shobj-conf 2010-01-25 13:03:36 +0100 |
135 |
+--- a/support/shobj-conf 2010-01-25 13:02:55 +0100 |
136 |
++++ b/support/shobj-conf 2010-01-25 13:03:36 +0100 |
137 |
@@ -265,7 +265,7 @@ |
138 |
aix4.[2-9]*-*gcc*|aix[5-9].*-*gcc*) # lightly tested by jik@×××××.com |
139 |
SHOBJ_CFLAGS=-fpic |
140 |
|
141 |
diff --git a/sys-libs/readline/files/readline-6.1-aix-soname.patch b/sys-libs/readline/files/readline-6.1-aix-soname.patch |
142 |
index 0c108e5798..82fb050978 100644 |
143 |
--- a/sys-libs/readline/files/readline-6.1-aix-soname.patch |
144 |
+++ b/sys-libs/readline/files/readline-6.1-aix-soname.patch |
145 |
@@ -1,10 +1,12 @@ |
146 |
+Michael Haubenwallner: |
147 |
+ |
148 |
With a little help from my friend, the native-cctools wrapping ld to support |
149 |
'-soname' flag on AIX, we can provide full soname support there (#213277). |
150 |
However, this patch is not for upstream, as they cannot rely on that ld wrapper: |
151 |
They would have to do the aix-soname magic themself instead. |
152 |
|
153 |
---- support/shobj-conf.orig 2011-02-08 11:53:20 +0100 |
154 |
-+++ support/shobj-conf 2011-02-08 11:57:14 +0100 |
155 |
+--- a/support/shobj-conf 2011-02-08 11:53:20 +0100 |
156 |
++++ b/support/shobj-conf 2011-02-08 11:57:14 +0100 |
157 |
@@ -269,7 +269,7 @@ |
158 |
SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpfull' |
159 |
SHOBJ_XLDFLAGS='-G' |
160 |
|
161 |
diff --git a/sys-libs/readline/files/readline-7.0-headers.patch b/sys-libs/readline/files/readline-7.0-headers.patch |
162 |
new file mode 100644 |
163 |
index 0000000000..892ec21f51 |
164 |
--- /dev/null |
165 |
+++ b/sys-libs/readline/files/readline-7.0-headers.patch |
166 |
@@ -0,0 +1,24 @@ |
167 |
+From 4bc0aa68aff12a59628dd3c99a53360a9aa1ce93 Mon Sep 17 00:00:00 2001 |
168 |
+From: Mike Frysinger <vapier@g.o> |
169 |
+Date: Thu, 11 Aug 2016 17:49:27 +0800 |
170 |
+Subject: [PATCH] include ctype.h for isdigit usage |
171 |
+ |
172 |
+--- |
173 |
+ lib/readline/histexpand.c | 1 + |
174 |
+ 1 file changed, 1 insertion(+) |
175 |
+ |
176 |
+diff --git a/lib/readline/histexpand.c b/lib/readline/histexpand.c |
177 |
+index 46a99aa62e30..13248db83048 100644 |
178 |
+--- a/histexpand.c |
179 |
++++ b/histexpand.c |
180 |
+@@ -26,6 +26,7 @@ |
181 |
+ #endif |
182 |
+ |
183 |
+ #include <stdio.h> |
184 |
++#include <ctype.h> |
185 |
+ |
186 |
+ #if defined (HAVE_STDLIB_H) |
187 |
+ # include <stdlib.h> |
188 |
+-- |
189 |
+2.9.0 |
190 |
+ |
191 |
|
192 |
diff --git a/sys-libs/readline/files/readline-7.0-libtool.patch b/sys-libs/readline/files/readline-7.0-libtool.patch |
193 |
new file mode 100644 |
194 |
index 0000000000..5b436b4bdb |
195 |
--- /dev/null |
196 |
+++ b/sys-libs/readline/files/readline-7.0-libtool.patch |
197 |
@@ -0,0 +1,745 @@ |
198 |
+diff -ru readline-7.0.orig/examples/rlfe/Makefile.in readline-7.0/examples/rlfe/Makefile.in |
199 |
+--- readline-7.0.orig/examples/rlfe/Makefile.in 2009-02-22 23:27:18.000000000 +0000 |
200 |
++++ readline-7.0/examples/rlfe/Makefile.in 2018-12-27 16:24:26.200061860 +0000 |
201 |
+@@ -49,7 +49,7 @@ |
202 |
+ all: rlfe |
203 |
+ |
204 |
+ rlfe: $(OFILES) |
205 |
+- $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS) |
206 |
++ $(LTLINK) $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OFILES) $(LIBS) |
207 |
+ |
208 |
+ rlfe-$(VERSION).tar.gz: |
209 |
+ tar czf $@ $(CFILES) $(HFILES) $(EXTRA_DIST) |
210 |
+diff -ru readline-7.0.orig/shlib/Makefile.in readline-7.0/shlib/Makefile.in |
211 |
+--- readline-7.0.orig/shlib/Makefile.in 2015-07-13 00:41:58.000000000 +0000 |
212 |
++++ readline-7.0/shlib/Makefile.in 2018-12-27 16:25:28.204577868 +0000 |
213 |
+@@ -78,14 +78,14 @@ |
214 |
+ # changes to bash-maintainers@×××.org. |
215 |
+ # |
216 |
+ SHOBJ_CC = @SHOBJ_CC@ |
217 |
+-SHOBJ_CFLAGS = @SHOBJ_CFLAGS@ |
218 |
+-SHOBJ_LD = @SHOBJ_LD@ |
219 |
++SHOBJ_CFLAGS_shared = @SHOBJ_CFLAGS@ |
220 |
++SHOBJ_LD_shared = @SHOBJ_LD@ |
221 |
+ |
222 |
+-SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@ |
223 |
+-SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@ |
224 |
++SHOBJ_LDFLAGS_shared = @SHOBJ_LDFLAGS@ |
225 |
++SHOBJ_XLDFLAGS_shared = @SHOBJ_XLDFLAGS@ |
226 |
+ SHOBJ_LIBS = @SHOBJ_LIBS@ |
227 |
+ |
228 |
+-SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@ |
229 |
++SHLIB_XLDFLAGS_shared = @SHLIB_XLDFLAGS@ |
230 |
+ SHLIB_LIBS = @SHLIB_LIBS@ |
231 |
+ |
232 |
+ SHLIB_DOT = @SHLIB_DOT@ |
233 |
+@@ -95,7 +95,7 @@ |
234 |
+ SHLIB_LIBVERSION = @SHLIB_LIBVERSION@ |
235 |
+ SHLIB_DLLVERSION = @SHLIB_DLLVERSION@ |
236 |
+ |
237 |
+-SHLIB_STATUS = @SHLIB_STATUS@ |
238 |
++SHLIB_STATUS_shared = @SHLIB_STATUS@ |
239 |
+ |
240 |
+ TERMCAP_LIB = @TERMCAP_LIB@ |
241 |
+ |
242 |
+@@ -109,13 +109,52 @@ |
243 |
+ |
244 |
+ CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(INCLUDES) $(CPPFLAGS) $(LOCAL_CFLAGS) $(CFLAGS) |
245 |
+ |
246 |
+-.SUFFIXES: .so |
247 |
++SHARED_TARGET = @SHARED_TARGET@ # using libtool when empty |
248 |
++ |
249 |
++SHLIB_STATUS_ = libtool |
250 |
++SHLIB_STATUS = $(SHLIB_STATUS_$(SHARED_TARGET)) |
251 |
++ |
252 |
++SO_shared = so |
253 |
++SO_ = lo # use libtool when SHARED_TARGET is empty |
254 |
++SO = $(SO_$(SHARED_TARGET)) |
255 |
++ |
256 |
++LIBTOOL_ = libtool |
257 |
++LIBTOOL = $(LIBTOOL_$(SHARED_TARGET)) |
258 |
++ |
259 |
++LTTAG_CC_ = --tag=CC |
260 |
++LTCLEAN_ = $(LIBTOOL) --mode=clean |
261 |
++LTCOMPILE_ = $(LIBTOOL) --mode=compile |
262 |
++LTINSTALL_ = $(LIBTOOL) --mode=install |
263 |
++LTLINK_ = $(LIBTOOL) --mode=link |
264 |
++LTUNINSTALL_ = $(LIBTOOL) --mode=uninstall |
265 |
++ |
266 |
++SHOBJ_CFLAGS_ = |
267 |
++SHOBJ_LD_ = $(SHOBJ_CC) |
268 |
++SHOBJ_LDFLAGS_ = -shared -version-info `echo $(SHLIB_MAJOR)$(SHLIB_MINOR) | sed -e 's/\./:/g'` |
269 |
++SHLIB_XLDFLAGS_ = -no-undefined -rpath $(libdir) |
270 |
++ |
271 |
++LTTAG_CC = $(LTTAG_CC_$(SHARED_TARGET)) |
272 |
++LTCLEAN = $(LTCLEAN_$(SHARED_TARGET)) |
273 |
++LTCOMPILE = $(LTCOMPILE_$(SHARED_TARGET)) |
274 |
++LTINSTALL = $(LTINSTALL_$(SHARED_TARGET)) |
275 |
++LTLINK = $(LTLINK_$(SHARED_TARGET)) |
276 |
++LTUNINSTALL = $(LTUNINSTALL_$(SHARED_TARGET)) |
277 |
++ |
278 |
++SHOBJ_CFLAGS = $(SHOBJ_CFLAGS_$(SHARED_TARGET)) |
279 |
++SHOBJ_LD = $(SHOBJ_LD_$(SHARED_TARGET)) |
280 |
++SHOBJ_LDFLAGS = $(SHOBJ_LDFLAGS_$(SHARED_TARGET)) |
281 |
++SHLIB_XLDFLAGS = $(LDFLAGS) $(SHLIB_XLDFLAGS_$(SHARED_TARGET)) |
282 |
++ |
283 |
++.SUFFIXES: .so .lo |
284 |
+ |
285 |
+ .c.so: |
286 |
+ ${RM} $@ |
287 |
+ $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.o $< |
288 |
+ $(MV) $*.o $@ |
289 |
+ |
290 |
++.c.lo: |
291 |
++ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.lo $< |
292 |
++ |
293 |
+ # The name of the main library target. |
294 |
+ |
295 |
+ SHARED_READLINE = $(SHLIB_LIBPREF)readline$(SHLIB_DOT)$(SHLIB_LIBVERSION) |
296 |
+@@ -147,16 +186,16 @@ |
297 |
+ $(topdir)/rltypedefs.h $(topdir)/rlmbutil.h \ |
298 |
+ $(topdir)/colors.h $(topdir)/parse-colors.h |
299 |
+ |
300 |
+-SHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so \ |
301 |
+- mbutil.so |
302 |
+-SHARED_TILDEOBJ = tilde.so |
303 |
+-SHARED_COLORSOBJ = colors.so parse-colors.so |
304 |
+-SHARED_OBJ = readline.so vi_mode.so funmap.so keymaps.so parens.so search.so \ |
305 |
+- rltty.so complete.so bind.so isearch.so display.so signals.so \ |
306 |
+- util.so kill.so undo.so macro.so input.so callback.so terminal.so \ |
307 |
+- text.so nls.so misc.so \ |
308 |
++SHARED_HISTOBJ = history.$(SO) histexpand.$(SO) histfile.$(SO) histsearch.$(SO) shell.$(SO) \ |
309 |
++ mbutil.$(SO) |
310 |
++SHARED_TILDEOBJ = tilde.$(SO) |
311 |
++SHARED_COLORSOBJ = colors.$(SO) parse-colors.$(SO) |
312 |
++SHARED_OBJ = readline.$(SO) vi_mode.$(SO) funmap.$(SO) keymaps.$(SO) parens.$(SO) search.$(SO) \ |
313 |
++ rltty.$(SO) complete.$(SO) bind.$(SO) isearch.$(SO) display.$(SO) signals.$(SO) \ |
314 |
++ util.$(SO) kill.$(SO) undo.$(SO) macro.$(SO) input.$(SO) callback.$(SO) terminal.$(SO) \ |
315 |
++ text.$(SO) nls.$(SO) misc.$(SO) \ |
316 |
+ $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) $(SHARED_COLORSOBJ) \ |
317 |
+- xmalloc.so xfree.so compat.so |
318 |
++ xmalloc.$(SO) xfree.$(SO) compat.$(SO) |
319 |
+ |
320 |
+ ########################################################################## |
321 |
+ |
322 |
+@@ -164,6 +203,8 @@ |
323 |
+ |
324 |
+ supported: $(SHARED_LIBS) |
325 |
+ |
326 |
++libtool: libreadline.la libhistory.la |
327 |
++ |
328 |
+ unsupported: |
329 |
+ @echo "Your system and compiler (${host_os}-${CC}) are not supported by the" |
330 |
+ @echo "${topdir}/support/shobj-conf script." |
331 |
+@@ -172,13 +213,15 @@ |
332 |
+ @echo "Please send the changes you made to bash-maintainers@×××.org" |
333 |
+ @echo "for inclusion in future bash and readline releases." |
334 |
+ |
335 |
++libreadline.la \ |
336 |
+ $(SHARED_READLINE): $(SHARED_OBJ) |
337 |
+- $(RM) $@ |
338 |
+- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS) |
339 |
++ $(LTCLEAN) $(RM) $@ |
340 |
++ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS) |
341 |
+ |
342 |
+-$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so |
343 |
+- $(RM) $@ |
344 |
+- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS) |
345 |
++libhistory.la \ |
346 |
++$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO) |
347 |
++ $(LTCLEAN) $(RM) $@ |
348 |
++ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO) $(SHLIB_LIBS) |
349 |
+ |
350 |
+ # Since tilde.c is shared between readline and bash, make sure we compile |
351 |
+ # it with the right flags when it's built as part of readline |
352 |
+@@ -187,6 +230,9 @@ |
353 |
+ $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.o $(topdir)/tilde.c |
354 |
+ $(MV) tilde.o $@ |
355 |
+ |
356 |
++tilde.lo: tilde.c |
357 |
++ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.lo $(topdir)/tilde.c |
358 |
++ |
359 |
+ installdirs: $(topdir)/support/mkdirs |
360 |
+ -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(libdir) |
361 |
+ -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(bindir) |
362 |
+@@ -196,6 +242,10 @@ |
363 |
+ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE) |
364 |
+ @echo install: you may need to run ldconfig |
365 |
+ |
366 |
++install-libtool: installdirs $(SHLIB_STATUS) |
367 |
++ $(LTINSTALL) $(INSTALL_DATA) libhistory.la $(DESTDIR)$(libdir) |
368 |
++ $(LTINSTALL) $(INSTALL_DATA) libreadline.la $(DESTDIR)$(libdir) |
369 |
++ |
370 |
+ install-unsupported: |
371 |
+ @echo install: shared libraries not supported |
372 |
+ |
373 |
+@@ -206,13 +256,17 @@ |
374 |
+ $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_READLINE) |
375 |
+ @echo uninstall: you may need to run ldconfig |
376 |
+ |
377 |
++uninstall-libtool: |
378 |
++ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libhistory.la |
379 |
++ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libreadline.la |
380 |
++ |
381 |
+ uninstall-unsupported: |
382 |
+ @echo uninstall: shared libraries not supported |
383 |
+ |
384 |
+ uninstall: uninstall-$(SHLIB_STATUS) |
385 |
+ |
386 |
+ clean mostlyclean: force |
387 |
+- $(RM) $(SHARED_OBJ) $(SHARED_LIBS) |
388 |
++ $(LTCLEAN) $(RM) $(SHARED_OBJ) $(SHARED_LIBS) libreadline.la libhistory.la |
389 |
+ |
390 |
+ distclean maintainer-clean: clean |
391 |
+ $(RM) Makefile |
392 |
+@@ -224,278 +278,278 @@ |
393 |
+ .NOEXPORT: |
394 |
+ |
395 |
+ # Dependencies |
396 |
+-bind.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h |
397 |
+-bind.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
398 |
+-bind.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
399 |
+-bind.so: $(topdir)/rltypedefs.h |
400 |
+-bind.so: $(topdir)/tilde.h $(topdir)/history.h |
401 |
+-compat.so: ${BUILD_DIR}/config.h |
402 |
+-compat.so: $(topdir)/rlstdc.h $(topdir)/rltypedefs.h |
403 |
+-callback.so: $(topdir)/rlconf.h |
404 |
+-callback.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h |
405 |
+-callback.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
406 |
+-callback.so: $(topdir)/rltypedefs.h |
407 |
+-callback.so: $(topdir)/tilde.h |
408 |
+-complete.so: $(topdir)/ansi_stdlib.h $(topdir)/posixdir.h $(topdir)/posixstat.h |
409 |
+-complete.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
410 |
+-complete.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
411 |
+-complete.so: $(topdir)/rltypedefs.h |
412 |
+-complete.so: $(topdir)/tilde.h |
413 |
+-display.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h |
414 |
+-display.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
415 |
+-display.so: $(topdir)/tcap.h |
416 |
+-display.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
417 |
+-display.so: $(topdir)/rltypedefs.h |
418 |
+-display.so: $(topdir)/tilde.h $(topdir)/history.h |
419 |
+-funmap.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
420 |
+-funmap.so: $(topdir)/rltypedefs.h |
421 |
+-funmap.so: $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h |
422 |
+-funmap.so: ${BUILD_DIR}/config.h $(topdir)/tilde.h |
423 |
+-histexpand.so: $(topdir)/ansi_stdlib.h |
424 |
+-histexpand.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
425 |
+-histexpand.so: ${BUILD_DIR}/config.h |
426 |
+-histfile.so: $(topdir)/ansi_stdlib.h |
427 |
+-histfile.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
428 |
+-histfile.so: ${BUILD_DIR}/config.h |
429 |
+-history.so: $(topdir)/ansi_stdlib.h |
430 |
+-history.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
431 |
+-history.so: ${BUILD_DIR}/config.h |
432 |
+-histsearch.so: $(topdir)/ansi_stdlib.h |
433 |
+-histsearch.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
434 |
+-histsearch.so: ${BUILD_DIR}/config.h |
435 |
+-input.so: $(topdir)/ansi_stdlib.h |
436 |
+-input.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
437 |
+-input.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
438 |
+-input.so: $(topdir)/rltypedefs.h |
439 |
+-input.so: $(topdir)/tilde.h |
440 |
+-isearch.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
441 |
+-isearch.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
442 |
+-isearch.so: $(topdir)/rltypedefs.h |
443 |
+-isearch.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h |
444 |
+-keymaps.so: $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h |
445 |
+-keymaps.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
446 |
+-keymaps.so: $(topdir)/rltypedefs.h |
447 |
+-keymaps.so: ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h |
448 |
+-kill.so: $(topdir)/ansi_stdlib.h |
449 |
+-kill.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
450 |
+-kill.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
451 |
+-kill.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h |
452 |
+-macro.so: $(topdir)/ansi_stdlib.h |
453 |
+-macro.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
454 |
+-macro.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
455 |
+-macro.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h |
456 |
+-mbutil.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
457 |
+-mbutil.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h |
458 |
+-mbutil.so: $(topdir)/chardefs.h $(topdir)/rlstdc.h |
459 |
+-misc.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
460 |
+-misc.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
461 |
+-misc.so: $(topdir)/rltypedefs.h |
462 |
+-misc.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h |
463 |
+-nls.so: $(topdir)/ansi_stdlib.h |
464 |
+-nls.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
465 |
++bind$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h |
466 |
++bind$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
467 |
++bind$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
468 |
++bind$(SO): $(topdir)/rltypedefs.h |
469 |
++bind$(SO): $(topdir)/tilde.h $(topdir)/history.h |
470 |
++compat$(SO): ${BUILD_DIR}/config.h |
471 |
++compat$(SO): $(topdir)/rlstdc.h $(topdir)/rltypedefs.h |
472 |
++callback$(SO): $(topdir)/rlconf.h |
473 |
++callback$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h |
474 |
++callback$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
475 |
++callback$(SO): $(topdir)/rltypedefs.h |
476 |
++callback$(SO): $(topdir)/tilde.h |
477 |
++complete$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixdir.h $(topdir)/posixstat.h |
478 |
++complete$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
479 |
++complete$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
480 |
++complete$(SO): $(topdir)/rltypedefs.h |
481 |
++complete$(SO): $(topdir)/tilde.h |
482 |
++display$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h |
483 |
++display$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
484 |
++display$(SO): $(topdir)/tcap.h |
485 |
++display$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
486 |
++display$(SO): $(topdir)/rltypedefs.h |
487 |
++display$(SO): $(topdir)/tilde.h $(topdir)/history.h |
488 |
++funmap$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
489 |
++funmap$(SO): $(topdir)/rltypedefs.h |
490 |
++funmap$(SO): $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h |
491 |
++funmap$(SO): ${BUILD_DIR}/config.h $(topdir)/tilde.h |
492 |
++histexpand$(SO): $(topdir)/ansi_stdlib.h |
493 |
++histexpand$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
494 |
++histexpand$(SO): ${BUILD_DIR}/config.h |
495 |
++histfile$(SO): $(topdir)/ansi_stdlib.h |
496 |
++histfile$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
497 |
++histfile$(SO): ${BUILD_DIR}/config.h |
498 |
++history$(SO): $(topdir)/ansi_stdlib.h |
499 |
++history$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
500 |
++history$(SO): ${BUILD_DIR}/config.h |
501 |
++histsearch$(SO): $(topdir)/ansi_stdlib.h |
502 |
++histsearch$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h |
503 |
++histsearch$(SO): ${BUILD_DIR}/config.h |
504 |
++input$(SO): $(topdir)/ansi_stdlib.h |
505 |
++input$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
506 |
++input$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
507 |
++input$(SO): $(topdir)/rltypedefs.h |
508 |
++input$(SO): $(topdir)/tilde.h |
509 |
++isearch$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
510 |
++isearch$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
511 |
++isearch$(SO): $(topdir)/rltypedefs.h |
512 |
++isearch$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h |
513 |
++keymaps$(SO): $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h |
514 |
++keymaps$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
515 |
++keymaps$(SO): $(topdir)/rltypedefs.h |
516 |
++keymaps$(SO): ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h |
517 |
++kill$(SO): $(topdir)/ansi_stdlib.h |
518 |
++kill$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
519 |
++kill$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
520 |
++kill$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h |
521 |
++macro$(SO): $(topdir)/ansi_stdlib.h |
522 |
++macro$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
523 |
++macro$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
524 |
++macro$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h |
525 |
++mbutil$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
526 |
++mbutil$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h |
527 |
++mbutil$(SO): $(topdir)/chardefs.h $(topdir)/rlstdc.h |
528 |
++misc$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
529 |
++misc$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
530 |
++misc$(SO): $(topdir)/rltypedefs.h |
531 |
++misc$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h |
532 |
++nls$(SO): $(topdir)/ansi_stdlib.h |
533 |
++nls$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
534 |
+ nls.o: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
535 |
+ nls.o: $(topdir)/rltypedefs.h |
536 |
+ nls.o: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rlstdc.h |
537 |
+-parens.so: $(topdir)/rlconf.h ${BUILD_DIR}/config.h |
538 |
+-parens.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
539 |
+-parens.so: $(topdir)/rltypedefs.h |
540 |
+-parens.so: $(topdir)/tilde.h |
541 |
+-rltty.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
542 |
+-rltty.so: $(topdir)/rltty.h $(topdir)/tilde.h |
543 |
+-rltty.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
544 |
+-rltty.so: $(topdir)/rltypedefs.h |
545 |
+-savestring.so: ${BUILD_DIR}/config.h |
546 |
+-search.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
547 |
+-search.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
548 |
+-search.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h |
549 |
+-search.so: $(topdir)/rltypedefs.h |
550 |
+-signals.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
551 |
+-signals.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
552 |
+-signals.so: $(topdir)/history.h $(topdir)/tilde.h |
553 |
+-signals.so: $(topdir)/rltypedefs.h |
554 |
+-terminal.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
555 |
+-terminal.so: $(topdir)/tcap.h |
556 |
+-terminal.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
557 |
+-terminal.so: $(topdir)/tilde.h $(topdir)/history.h |
558 |
+-terminal.so: $(topdir)/rltypedefs.h |
559 |
+-text.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
560 |
+-text.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
561 |
+-text.so: $(topdir)/rltypedefs.h |
562 |
+-text.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h |
563 |
+-tilde.so: $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h |
564 |
+-undo.so: $(topdir)/ansi_stdlib.h |
565 |
+-undo.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
566 |
+-undo.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
567 |
+-undo.so: $(topdir)/rltypedefs.h |
568 |
+-undo.so: $(topdir)/tilde.h $(topdir)/history.h |
569 |
+-util.so: $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h |
570 |
+-util.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
571 |
+-util.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
572 |
+-util.so: $(topdir)/rltypedefs.h $(topdir)/tilde.h |
573 |
+-vi_mode.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
574 |
+-vi_mode.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
575 |
+-vi_mode.so: $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h |
576 |
+-vi_mode.so: $(topdir)/rltypedefs.h |
577 |
+-xfree.so: ${BUILD_DIR}/config.h |
578 |
+-xfree.so: $(topdir)/ansi_stdlib.h |
579 |
+-xmalloc.so: ${BUILD_DIR}/config.h |
580 |
+-xmalloc.so: $(topdir)/ansi_stdlib.h |
581 |
+- |
582 |
+-bind.so: $(topdir)/rlshell.h |
583 |
+-histfile.so: $(topdir)/rlshell.h |
584 |
+-nls.so: $(topdir)/rlshell.h |
585 |
+-readline.so: $(topdir)/rlshell.h |
586 |
+-shell.so: $(topdir)/rlshell.h |
587 |
+-terminal.so: $(topdir)/rlshell.h |
588 |
+-histexpand.so: $(topdir)/rlshell.h |
589 |
+- |
590 |
+-colors.so: $(BUILD_DIR)/config.h $(topdir)/colors.h |
591 |
+-colors.so: $(topdir)/rlconf.h |
592 |
+-colors.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h |
593 |
+-colors.so: $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h |
594 |
+-colors.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h |
595 |
+-parse-colors.so: $(BUILD_DIR)/config.h $(topdir)/colors.h $(topdir)/parse-colors.h |
596 |
+-parse-colors.so: $(topdir)/rldefs.h $(topdir)/rlconf.h |
597 |
+-parse-colors.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h |
598 |
+-parse-colors.so: $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h |
599 |
+- |
600 |
+-bind.so: $(topdir)/rlprivate.h |
601 |
+-callback.so: $(topdir)/rlprivate.h |
602 |
+-complete.so: $(topdir)/rlprivate.h |
603 |
+-display.so: $(topdir)/rlprivate.h |
604 |
+-input.so: $(topdir)/rlprivate.h |
605 |
+-isearch.so: $(topdir)/rlprivate.h |
606 |
+-kill.so: $(topdir)/rlprivate.h |
607 |
+-macro.so: $(topdir)/rlprivate.h |
608 |
+-mbutil.so: $(topdir)/rlprivate.h |
609 |
+-misc.so: $(topdir)/rlprivate.h |
610 |
+-nls.so: $(topdir)/rlprivate.h |
611 |
+-parens.so: $(topdir)/rlprivate.h |
612 |
+-readline.so: $(topdir)/rlprivate.h |
613 |
+-rltty.so: $(topdir)/rlprivate.h |
614 |
+-search.so: $(topdir)/rlprivate.h |
615 |
+-signals.so: $(topdir)/rlprivate.h |
616 |
+-terminal.so: $(topdir)/rlprivate.h |
617 |
+-text.so: $(topdir)/rlprivate.h |
618 |
+-undo.so: $(topdir)/rlprivate.h |
619 |
+-util.so: $(topdir)/rlprivate.h |
620 |
+-vi_mode.so: $(topdir)/rlprivate.h |
621 |
+-colors.so: $(topdir)/rlprivate.h |
622 |
+-parse-colors.so: $(topdir)/rlprivate.h |
623 |
+- |
624 |
+-bind.so: $(topdir)/xmalloc.h |
625 |
+-callback.so: $(topdir)/xmalloc.h |
626 |
+-complete.so: $(topdir)/xmalloc.h |
627 |
+-display.so: $(topdir)/xmalloc.h |
628 |
+-funmap.so: $(topdir)/xmalloc.h |
629 |
+-histexpand.so: $(topdir)/xmalloc.h |
630 |
+-histfile.so: $(topdir)/xmalloc.h |
631 |
+-history.so: $(topdir)/xmalloc.h |
632 |
+-input.so: $(topdir)/xmalloc.h |
633 |
+-isearch.so: $(topdir)/xmalloc.h |
634 |
+-keymaps.so: $(topdir)/xmalloc.h |
635 |
+-kill.so: $(topdir)/xmalloc.h |
636 |
+-macro.so: $(topdir)/xmalloc.h |
637 |
+-mbutil.so: $(topdir)/xmalloc.h |
638 |
+-misc.so: $(topdir)/xmalloc.h |
639 |
+-readline.so: $(topdir)/xmalloc.h |
640 |
+-savestring.so: $(topdir)/xmalloc.h |
641 |
+-search.so: $(topdir)/xmalloc.h |
642 |
+-shell.so: $(topdir)/xmalloc.h |
643 |
+-terminal.so: $(topdir)/xmalloc.h |
644 |
+-text.so: $(topdir)/xmalloc.h |
645 |
+-tilde.so: $(topdir)/xmalloc.h |
646 |
+-undo.so: $(topdir)/xmalloc.h |
647 |
+-util.so: $(topdir)/xmalloc.h |
648 |
+-vi_mode.so: $(topdir)/xmalloc.h |
649 |
+-xfree.so: $(topdir)/xmalloc.h |
650 |
+-xmalloc.so: $(topdir)/xmalloc.h |
651 |
+-colors.so: $(topdir)/xmalloc.h |
652 |
+-parse-colors.so: $(topdir)/xmalloc.h |
653 |
+- |
654 |
+-complete.so: $(topdir)/rlmbutil.h |
655 |
+-display.so: $(topdir)/rlmbutil.h |
656 |
+-histexpand.so: $(topdir)/rlmbutil.h |
657 |
+-input.so: $(topdir)/rlmbutil.h |
658 |
+-isearch.so: $(topdir)/rlmbutil.h |
659 |
+-mbutil.so: $(topdir)/rlmbutil.h |
660 |
+-misc.so: $(topdir)/rlmbutil.h |
661 |
+-readline.so: $(topdir)/rlmbutil.h |
662 |
+-search.so: $(topdir)/rlmbutil.h |
663 |
+-text.so: $(topdir)/rlmbutil.h |
664 |
+-vi_mode.so: $(topdir)/rlmbutil.h |
665 |
+-colors.so: $(topdir)/rlmbutil.h |
666 |
+-parse-colors.so: $(topdir)/rlmbutil.h |
667 |
+- |
668 |
+-bind.so: $(topdir)/bind.c |
669 |
+-callback.so: $(topdir)/callback.c |
670 |
+-compat.so: $(topdir)/compat.c |
671 |
+-complete.so: $(topdir)/complete.c |
672 |
+-display.so: $(topdir)/display.c |
673 |
+-funmap.so: $(topdir)/funmap.c |
674 |
+-input.so: $(topdir)/input.c |
675 |
+-isearch.so: $(topdir)/isearch.c |
676 |
+-keymaps.so: $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c |
677 |
+-kill.so: $(topdir)/kill.c |
678 |
+-macro.so: $(topdir)/macro.c |
679 |
+-mbutil.so: $(topdir)/mbutil.c |
680 |
+-misc.so: $(topdir)/mbutil.c |
681 |
+-nls.so: $(topdir)/nls.c |
682 |
+-parens.so: $(topdir)/parens.c |
683 |
+-readline.so: $(topdir)/readline.c |
684 |
+-rltty.so: $(topdir)/rltty.c |
685 |
+-savestring.so: $(topdir)/savestring.c |
686 |
+-search.so: $(topdir)/search.c |
687 |
+-shell.so: $(topdir)/shell.c |
688 |
+-signals.so: $(topdir)/signals.c |
689 |
+-terminal.so: $(topdir)/terminal.c |
690 |
+-text.so: $(topdir)/text.c |
691 |
+-tilde.so: $(topdir)/tilde.c |
692 |
+-undo.so: $(topdir)/undo.c |
693 |
+-util.so: $(topdir)/util.c |
694 |
+-vi_mode.so: $(topdir)/vi_mode.c |
695 |
+-xfree.so: $(topdir)/xfree.c |
696 |
+-xmalloc.so: $(topdir)/xmalloc.c |
697 |
+- |
698 |
+-histexpand.so: $(topdir)/histexpand.c |
699 |
+-histfile.so: $(topdir)/histfile.c |
700 |
+-history.so: $(topdir)/history.c |
701 |
+-histsearch.so: $(topdir)/histsearch.c |
702 |
+- |
703 |
+-bind.so: bind.c |
704 |
+-callback.so: callback.c |
705 |
+-comapt.so: compat.c |
706 |
+-complete.so: complete.c |
707 |
+-display.so: display.c |
708 |
+-funmap.so: funmap.c |
709 |
+-input.so: input.c |
710 |
+-isearch.so: isearch.c |
711 |
+-keymaps.so: keymaps.c emacs_keymap.c vi_keymap.c |
712 |
+-kill.so: kill.c |
713 |
+-macro.so: macro.c |
714 |
+-mbutil.so: mbutil.c |
715 |
+-misc.so: misc.c |
716 |
+-nls.so: nls.c |
717 |
+-parens.so: parens.c |
718 |
+-readline.so: readline.c |
719 |
+-rltty.so: rltty.c |
720 |
+-savestring.so: savestring.c |
721 |
+-search.so: search.c |
722 |
+-signals.so: signals.c |
723 |
+-shell.so: shell.c |
724 |
+-terminal.so: terminal.c |
725 |
+-text.so: text.c |
726 |
+-tilde.so: tilde.c |
727 |
+-undo.so: undo.c |
728 |
+-util.so: util.c |
729 |
+-vi_mode.so: vi_mode.c |
730 |
+-xfree.so: xfree.c |
731 |
+-xmalloc.so: xmalloc.c |
732 |
+- |
733 |
+-colors.so: colors.c |
734 |
+-parse-colors.so: parse-colors.c |
735 |
+- |
736 |
+-histexpand.so: histexpand.c |
737 |
+-histfile.so: histfile.c |
738 |
+-history.so: history.c |
739 |
+-histsearch.so: histsearch.c |
740 |
++parens$(SO): $(topdir)/rlconf.h ${BUILD_DIR}/config.h |
741 |
++parens$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
742 |
++parens$(SO): $(topdir)/rltypedefs.h |
743 |
++parens$(SO): $(topdir)/tilde.h |
744 |
++rltty$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
745 |
++rltty$(SO): $(topdir)/rltty.h $(topdir)/tilde.h |
746 |
++rltty$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
747 |
++rltty$(SO): $(topdir)/rltypedefs.h |
748 |
++savestring$(SO): ${BUILD_DIR}/config.h |
749 |
++search$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
750 |
++search$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
751 |
++search$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h |
752 |
++search$(SO): $(topdir)/rltypedefs.h |
753 |
++signals$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
754 |
++signals$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
755 |
++signals$(SO): $(topdir)/history.h $(topdir)/tilde.h |
756 |
++signals$(SO): $(topdir)/rltypedefs.h |
757 |
++terminal$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
758 |
++terminal$(SO): $(topdir)/tcap.h |
759 |
++terminal$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
760 |
++terminal$(SO): $(topdir)/tilde.h $(topdir)/history.h |
761 |
++terminal$(SO): $(topdir)/rltypedefs.h |
762 |
++text$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
763 |
++text$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
764 |
++text$(SO): $(topdir)/rltypedefs.h |
765 |
++text$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h |
766 |
++tilde$(SO): $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h |
767 |
++undo$(SO): $(topdir)/ansi_stdlib.h |
768 |
++undo$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
769 |
++undo$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
770 |
++undo$(SO): $(topdir)/rltypedefs.h |
771 |
++undo$(SO): $(topdir)/tilde.h $(topdir)/history.h |
772 |
++util$(SO): $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h |
773 |
++util$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
774 |
++util$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
775 |
++util$(SO): $(topdir)/rltypedefs.h $(topdir)/tilde.h |
776 |
++vi_mode$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h |
777 |
++vi_mode$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h |
778 |
++vi_mode$(SO): $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h |
779 |
++vi_mode$(SO): $(topdir)/rltypedefs.h |
780 |
++xfree$(SO): ${BUILD_DIR}/config.h |
781 |
++xfree$(SO): $(topdir)/ansi_stdlib.h |
782 |
++xmalloc$(SO): ${BUILD_DIR}/config.h |
783 |
++xmalloc$(SO): $(topdir)/ansi_stdlib.h |
784 |
++ |
785 |
++bind$(SO): $(topdir)/rlshell.h |
786 |
++histfile$(SO): $(topdir)/rlshell.h |
787 |
++nls$(SO): $(topdir)/rlshell.h |
788 |
++readline$(SO): $(topdir)/rlshell.h |
789 |
++shell$(SO): $(topdir)/rlshell.h |
790 |
++terminal$(SO): $(topdir)/rlshell.h |
791 |
++histexpand$(SO): $(topdir)/rlshell.h |
792 |
++ |
793 |
++colors$(SO): $(BUILD_DIR)/config.h $(topdir)/colors.h |
794 |
++colors$(SO): $(topdir)/rlconf.h |
795 |
++colors$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h |
796 |
++colors$(SO): $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h |
797 |
++colors$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h |
798 |
++parse-colors$(SO): $(BUILD_DIR)/config.h $(topdir)/colors.h $(topdir)/parse-colors.h |
799 |
++parse-colors$(SO): $(topdir)/rldefs.h $(topdir)/rlconf.h |
800 |
++parse-colors$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h |
801 |
++parse-colors$(SO): $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h |
802 |
++ |
803 |
++bind$(SO): $(topdir)/rlprivate.h |
804 |
++callback$(SO): $(topdir)/rlprivate.h |
805 |
++complete$(SO): $(topdir)/rlprivate.h |
806 |
++display$(SO): $(topdir)/rlprivate.h |
807 |
++input$(SO): $(topdir)/rlprivate.h |
808 |
++isearch$(SO): $(topdir)/rlprivate.h |
809 |
++kill$(SO): $(topdir)/rlprivate.h |
810 |
++macro$(SO): $(topdir)/rlprivate.h |
811 |
++mbutil$(SO): $(topdir)/rlprivate.h |
812 |
++misc$(SO): $(topdir)/rlprivate.h |
813 |
++nls$(SO): $(topdir)/rlprivate.h |
814 |
++parens$(SO): $(topdir)/rlprivate.h |
815 |
++readline$(SO): $(topdir)/rlprivate.h |
816 |
++rltty$(SO): $(topdir)/rlprivate.h |
817 |
++search$(SO): $(topdir)/rlprivate.h |
818 |
++signals$(SO): $(topdir)/rlprivate.h |
819 |
++terminal$(SO): $(topdir)/rlprivate.h |
820 |
++text$(SO): $(topdir)/rlprivate.h |
821 |
++undo$(SO): $(topdir)/rlprivate.h |
822 |
++util$(SO): $(topdir)/rlprivate.h |
823 |
++vi_mode$(SO): $(topdir)/rlprivate.h |
824 |
++colors$(SO): $(topdir)/rlprivate.h |
825 |
++parse-colors$(SO): $(topdir)/rlprivate.h |
826 |
++ |
827 |
++bind$(SO): $(topdir)/xmalloc.h |
828 |
++callback$(SO): $(topdir)/xmalloc.h |
829 |
++complete$(SO): $(topdir)/xmalloc.h |
830 |
++display$(SO): $(topdir)/xmalloc.h |
831 |
++funmap$(SO): $(topdir)/xmalloc.h |
832 |
++histexpand$(SO): $(topdir)/xmalloc.h |
833 |
++histfile$(SO): $(topdir)/xmalloc.h |
834 |
++history$(SO): $(topdir)/xmalloc.h |
835 |
++input$(SO): $(topdir)/xmalloc.h |
836 |
++isearch$(SO): $(topdir)/xmalloc.h |
837 |
++keymaps$(SO): $(topdir)/xmalloc.h |
838 |
++kill$(SO): $(topdir)/xmalloc.h |
839 |
++macro$(SO): $(topdir)/xmalloc.h |
840 |
++mbutil$(SO): $(topdir)/xmalloc.h |
841 |
++misc$(SO): $(topdir)/xmalloc.h |
842 |
++readline$(SO): $(topdir)/xmalloc.h |
843 |
++savestring$(SO): $(topdir)/xmalloc.h |
844 |
++search$(SO): $(topdir)/xmalloc.h |
845 |
++shell$(SO): $(topdir)/xmalloc.h |
846 |
++terminal$(SO): $(topdir)/xmalloc.h |
847 |
++text$(SO): $(topdir)/xmalloc.h |
848 |
++tilde$(SO): $(topdir)/xmalloc.h |
849 |
++undo$(SO): $(topdir)/xmalloc.h |
850 |
++util$(SO): $(topdir)/xmalloc.h |
851 |
++vi_mode$(SO): $(topdir)/xmalloc.h |
852 |
++xfree$(SO): $(topdir)/xmalloc.h |
853 |
++xmalloc$(SO): $(topdir)/xmalloc.h |
854 |
++colors$(SO): $(topdir)/xmalloc.h |
855 |
++parse-colors$(SO): $(topdir)/xmalloc.h |
856 |
++ |
857 |
++complete$(SO): $(topdir)/rlmbutil.h |
858 |
++display$(SO): $(topdir)/rlmbutil.h |
859 |
++histexpand$(SO): $(topdir)/rlmbutil.h |
860 |
++input$(SO): $(topdir)/rlmbutil.h |
861 |
++isearch$(SO): $(topdir)/rlmbutil.h |
862 |
++mbutil$(SO): $(topdir)/rlmbutil.h |
863 |
++misc$(SO): $(topdir)/rlmbutil.h |
864 |
++readline$(SO): $(topdir)/rlmbutil.h |
865 |
++search$(SO): $(topdir)/rlmbutil.h |
866 |
++text$(SO): $(topdir)/rlmbutil.h |
867 |
++vi_mode$(SO): $(topdir)/rlmbutil.h |
868 |
++colors$(SO): $(topdir)/rlmbutil.h |
869 |
++parse-colors$(SO): $(topdir)/rlmbutil.h |
870 |
++ |
871 |
++bind$(SO): $(topdir)/bind.c |
872 |
++callback$(SO): $(topdir)/callback.c |
873 |
++compat$(SO): $(topdir)/compat.c |
874 |
++complete$(SO): $(topdir)/complete.c |
875 |
++display$(SO): $(topdir)/display.c |
876 |
++funmap$(SO): $(topdir)/funmap.c |
877 |
++input$(SO): $(topdir)/input.c |
878 |
++isearch$(SO): $(topdir)/isearch.c |
879 |
++keymaps$(SO): $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c |
880 |
++kill$(SO): $(topdir)/kill.c |
881 |
++macro$(SO): $(topdir)/macro.c |
882 |
++mbutil$(SO): $(topdir)/mbutil.c |
883 |
++misc$(SO): $(topdir)/mbutil.c |
884 |
++nls$(SO): $(topdir)/nls.c |
885 |
++parens$(SO): $(topdir)/parens.c |
886 |
++readline$(SO): $(topdir)/readline.c |
887 |
++rltty$(SO): $(topdir)/rltty.c |
888 |
++savestring$(SO): $(topdir)/savestring.c |
889 |
++search$(SO): $(topdir)/search.c |
890 |
++shell$(SO): $(topdir)/shell.c |
891 |
++signals$(SO): $(topdir)/signals.c |
892 |
++terminal$(SO): $(topdir)/terminal.c |
893 |
++text$(SO): $(topdir)/text.c |
894 |
++tilde$(SO): $(topdir)/tilde.c |
895 |
++undo$(SO): $(topdir)/undo.c |
896 |
++util$(SO): $(topdir)/util.c |
897 |
++vi_mode$(SO): $(topdir)/vi_mode.c |
898 |
++xfree$(SO): $(topdir)/xfree.c |
899 |
++xmalloc$(SO): $(topdir)/xmalloc.c |
900 |
++ |
901 |
++histexpand$(SO): $(topdir)/histexpand.c |
902 |
++histfile$(SO): $(topdir)/histfile.c |
903 |
++history$(SO): $(topdir)/history.c |
904 |
++histsearch$(SO): $(topdir)/histsearch.c |
905 |
++ |
906 |
++bind$(SO): bind.c |
907 |
++callback$(SO): callback.c |
908 |
++comapt$(SO): compat.c |
909 |
++complete$(SO): complete.c |
910 |
++display$(SO): display.c |
911 |
++funmap$(SO): funmap.c |
912 |
++input$(SO): input.c |
913 |
++isearch$(SO): isearch.c |
914 |
++keymaps$(SO): keymaps.c emacs_keymap.c vi_keymap.c |
915 |
++kill$(SO): kill.c |
916 |
++macro$(SO): macro.c |
917 |
++mbutil$(SO): mbutil.c |
918 |
++misc$(SO): misc.c |
919 |
++nls$(SO): nls.c |
920 |
++parens$(SO): parens.c |
921 |
++readline$(SO): readline.c |
922 |
++rltty$(SO): rltty.c |
923 |
++savestring$(SO): savestring.c |
924 |
++search$(SO): search.c |
925 |
++signals$(SO): signals.c |
926 |
++shell$(SO): shell.c |
927 |
++terminal$(SO): terminal.c |
928 |
++text$(SO): text.c |
929 |
++tilde$(SO): tilde.c |
930 |
++undo$(SO): undo.c |
931 |
++util$(SO): util.c |
932 |
++vi_mode$(SO): vi_mode.c |
933 |
++xfree$(SO): xfree.c |
934 |
++xmalloc$(SO): xmalloc.c |
935 |
++ |
936 |
++colors$(SO): colors.c |
937 |
++parse-colors$(SO): parse-colors.c |
938 |
++ |
939 |
++histexpand$(SO): histexpand.c |
940 |
++histfile$(SO): histfile.c |
941 |
++history$(SO): history.c |
942 |
++histsearch$(SO): histsearch.c |
943 |
|
944 |
diff --git a/sys-libs/readline/files/readline-7.0-mingw.patch b/sys-libs/readline/files/readline-7.0-mingw.patch |
945 |
new file mode 100644 |
946 |
index 0000000000..f003038d2c |
947 |
--- /dev/null |
948 |
+++ b/sys-libs/readline/files/readline-7.0-mingw.patch |
949 |
@@ -0,0 +1,152 @@ |
950 |
+--- a/colors.c |
951 |
++++ b/colors.c |
952 |
+@@ -37,6 +37,10 @@ |
953 |
+ #include "posixstat.h" // stat related macros (S_ISREG, ...) |
954 |
+ #include <fcntl.h> // S_ISUID |
955 |
+ |
956 |
++#ifndef S_ISDIR |
957 |
++#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) |
958 |
++#endif |
959 |
++ |
960 |
+ // strlen() |
961 |
+ #if defined (HAVE_STRING_H) |
962 |
+ # include <string.h> |
963 |
+@@ -182,12 +186,17 @@ _rl_print_color_indicator (const char *f |
964 |
+ if (S_ISREG (mode)) |
965 |
+ { |
966 |
+ colored_filetype = C_FILE; |
967 |
+- |
968 |
++#ifdef S_ISUID |
969 |
+ if ((mode & S_ISUID) != 0 && is_colored (C_SETUID)) |
970 |
+ colored_filetype = C_SETUID; |
971 |
+- else if ((mode & S_ISGID) != 0 && is_colored (C_SETGID)) |
972 |
++ else |
973 |
++#endif |
974 |
++#ifdef S_ISGID |
975 |
++ if ((mode & S_ISGID) != 0 && is_colored (C_SETGID)) |
976 |
+ colored_filetype = C_SETGID; |
977 |
+- else if (is_colored (C_CAP) && 0) //f->has_capability) |
978 |
++ else |
979 |
++#endif |
980 |
++ if (is_colored (C_CAP) && 0) //f->has_capability) |
981 |
+ colored_filetype = C_CAP; |
982 |
+ else if ((mode & S_IXUGO) != 0 && is_colored (C_EXEC)) |
983 |
+ colored_filetype = C_EXEC; |
984 |
+@@ -211,12 +220,16 @@ _rl_print_color_indicator (const char *f |
985 |
+ colored_filetype = C_STICKY; |
986 |
+ #endif |
987 |
+ } |
988 |
++#if defined (S_ISLNK) |
989 |
+ else if (S_ISLNK (mode)) |
990 |
+ colored_filetype = C_LINK; |
991 |
++#endif |
992 |
+ else if (S_ISFIFO (mode)) |
993 |
+ colored_filetype = C_FIFO; |
994 |
++#if defined (S_ISSOCK) |
995 |
+ else if (S_ISSOCK (mode)) |
996 |
+ colored_filetype = C_SOCK; |
997 |
++#endif |
998 |
+ else if (S_ISBLK (mode)) |
999 |
+ colored_filetype = C_BLK; |
1000 |
+ else if (S_ISCHR (mode)) |
1001 |
+--- a/histfile.c |
1002 |
++++ b/histfile.c |
1003 |
+@@ -606,12 +606,14 @@ history_truncate_file (fname, lines) |
1004 |
+ history_lines_written_to_file = 0; |
1005 |
+ } |
1006 |
+ |
1007 |
++#if defined (HAVE_CHOWN) |
1008 |
+ /* Make sure the new filename is owned by the same user as the old. If one |
1009 |
+ user is running this, it's a no-op. If the shell is running after sudo |
1010 |
+ with a shared history file, we don't want to leave the history file |
1011 |
+ owned by root. */ |
1012 |
+ if (rv == 0 && exists) |
1013 |
+ r = chown (filename, finfo.st_uid, finfo.st_gid); |
1014 |
++#endif |
1015 |
+ |
1016 |
+ xfree (filename); |
1017 |
+ FREE (tempname); |
1018 |
+@@ -753,12 +755,14 @@ mmap_error: |
1019 |
+ history_lines_written_to_file = 0; |
1020 |
+ } |
1021 |
+ |
1022 |
++#if defined (HAVE_CHOWN) |
1023 |
+ /* Make sure the new filename is owned by the same user as the old. If one |
1024 |
+ user is running this, it's a no-op. If the shell is running after sudo |
1025 |
+ with a shared history file, we don't want to leave the history file |
1026 |
+ owned by root. */ |
1027 |
+ if (rv == 0 && exists) |
1028 |
+ mode = chown (histname, finfo.st_uid, finfo.st_gid); |
1029 |
++#endif |
1030 |
+ |
1031 |
+ FREE (histname); |
1032 |
+ FREE (tempname); |
1033 |
+--- a/input.c |
1034 |
++++ b/input.c |
1035 |
+@@ -71,6 +71,10 @@ extern int errno; |
1036 |
+ #include "rlshell.h" |
1037 |
+ #include "xmalloc.h" |
1038 |
+ |
1039 |
++#if defined (__MINGW32__) |
1040 |
++#include <conio.h> |
1041 |
++#endif |
1042 |
++ |
1043 |
+ /* What kind of non-blocking I/O do we have? */ |
1044 |
+ #if !defined (O_NDELAY) && defined (O_NONBLOCK) |
1045 |
+ # define O_NDELAY O_NONBLOCK /* Posix style */ |
1046 |
+--- a/posixstat.h |
1047 |
++++ b/posixstat.h |
1048 |
+@@ -78,30 +78,44 @@ |
1049 |
+ |
1050 |
+ #if defined (S_IFBLK) && !defined (S_ISBLK) |
1051 |
+ #define S_ISBLK(m) (((m)&S_IFMT) == S_IFBLK) /* block device */ |
1052 |
++#elif !defined (S_IFBLK) |
1053 |
++#define S_ISBLK(m) 0 |
1054 |
+ #endif |
1055 |
+ |
1056 |
+ #if defined (S_IFCHR) && !defined (S_ISCHR) |
1057 |
+ #define S_ISCHR(m) (((m)&S_IFMT) == S_IFCHR) /* character device */ |
1058 |
++#elif !defined (S_IFCHR) |
1059 |
++#define S_ISCHR(m) 0 |
1060 |
+ #endif |
1061 |
+ |
1062 |
+ #if defined (S_IFDIR) && !defined (S_ISDIR) |
1063 |
+ #define S_ISDIR(m) (((m)&S_IFMT) == S_IFDIR) /* directory */ |
1064 |
++#elif !defined (S_IFDIR) |
1065 |
++#define S_ISDIR(m) 0 |
1066 |
+ #endif |
1067 |
+ |
1068 |
+ #if defined (S_IFREG) && !defined (S_ISREG) |
1069 |
+ #define S_ISREG(m) (((m)&S_IFMT) == S_IFREG) /* file */ |
1070 |
++#elif !defined (S_IFREG) |
1071 |
++#define S_ISREG(m) 0 |
1072 |
+ #endif |
1073 |
+ |
1074 |
+ #if defined (S_IFIFO) && !defined (S_ISFIFO) |
1075 |
+ #define S_ISFIFO(m) (((m)&S_IFMT) == S_IFIFO) /* fifo - named pipe */ |
1076 |
++#elif !defined (S_IFIFO) |
1077 |
++#define S_ISFIFO(m) 0 |
1078 |
+ #endif |
1079 |
+ |
1080 |
+ #if defined (S_IFLNK) && !defined (S_ISLNK) |
1081 |
+ #define S_ISLNK(m) (((m)&S_IFMT) == S_IFLNK) /* symbolic link */ |
1082 |
++#elif !defined (S_IFLNK) |
1083 |
++#define S_ISLNK(m) 0 |
1084 |
+ #endif |
1085 |
+ |
1086 |
+ #if defined (S_IFSOCK) && !defined (S_ISSOCK) |
1087 |
+ #define S_ISSOCK(m) (((m)&S_IFMT) == S_IFSOCK) /* socket */ |
1088 |
++#elif !defined (S_IFSOCK) |
1089 |
++#define S_ISSOCK(m) 0 |
1090 |
+ #endif |
1091 |
+ |
1092 |
+ /* |
1093 |
+@@ -137,6 +151,8 @@ |
1094 |
+ /* These are non-standard, but are used in builtins.c$symbolic_umask() */ |
1095 |
+ #define S_IRUGO (S_IRUSR | S_IRGRP | S_IROTH) |
1096 |
+ #define S_IWUGO (S_IWUSR | S_IWGRP | S_IWOTH) |
1097 |
++#if defined(S_IXUSR) && defined(S_IXOTH) |
1098 |
+ #define S_IXUGO (S_IXUSR | S_IXGRP | S_IXOTH) |
1099 |
++#endif |
1100 |
+ |
1101 |
+ #endif /* _POSIXSTAT_H_ */ |
1102 |
|
1103 |
diff --git a/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch b/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch |
1104 |
new file mode 100644 |
1105 |
index 0000000000..cad3c8ca2c |
1106 |
--- /dev/null |
1107 |
+++ b/sys-libs/readline/files/readline-7.0-missing-echo-proto.patch |
1108 |
@@ -0,0 +1,14 @@ |
1109 |
+https://lists.gnu.org/archive/html/bug-readline/2016-11/msg00000.html |
1110 |
+ |
1111 |
+fix from upstream |
1112 |
+ |
1113 |
+--- a/readline.h |
1114 |
++++ b/readline.h |
1115 |
+@@ -413,6 +413,7 @@ |
1116 |
+ extern void rl_tty_set_default_bindings PARAMS((Keymap)); |
1117 |
+ extern void rl_tty_unset_default_bindings PARAMS((Keymap)); |
1118 |
+ |
1119 |
++extern int rl_tty_set_echoing PARAMS((int)); |
1120 |
+ extern int rl_reset_terminal PARAMS((const char *)); |
1121 |
+ extern void rl_resize_terminal PARAMS((void)); |
1122 |
+ extern void rl_set_screen_size PARAMS((int, int)); |
1123 |
|
1124 |
diff --git a/sys-libs/readline/readline-7.0_p5.ebuild b/sys-libs/readline/readline-7.0_p5.ebuild |
1125 |
new file mode 100644 |
1126 |
index 0000000000..2e3066f283 |
1127 |
--- /dev/null |
1128 |
+++ b/sys-libs/readline/readline-7.0_p5.ebuild |
1129 |
@@ -0,0 +1,215 @@ |
1130 |
+# Copyright 1999-2018 Gentoo Authors |
1131 |
+# Distributed under the terms of the GNU General Public License v2 |
1132 |
+ |
1133 |
+EAPI=6 |
1134 |
+ |
1135 |
+inherit flag-o-matic multilib-minimal toolchain-funcs libtool ltprune |
1136 |
+ |
1137 |
+# Official patches |
1138 |
+# See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/ |
1139 |
+PLEVEL="${PV##*_p}" |
1140 |
+MY_PV="${PV/_p*}" |
1141 |
+MY_PV="${MY_PV/_/-}" |
1142 |
+MY_P="${PN}-${MY_PV}" |
1143 |
+[[ ${PV} != *_p* ]] && PLEVEL=0 |
1144 |
+patches() { |
1145 |
+ [[ ${PLEVEL} -eq 0 ]] && return 1 |
1146 |
+ local opt=$1 |
1147 |
+ eval set -- {1..${PLEVEL}} |
1148 |
+ set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@") |
1149 |
+ if [[ ${opt} == -s ]] ; then |
1150 |
+ echo "${@/#/${DISTDIR}/}" |
1151 |
+ else |
1152 |
+ local u |
1153 |
+ for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do |
1154 |
+ printf "${u}/${PN}-${MY_PV}-patches/%s " "$@" |
1155 |
+ done |
1156 |
+ fi |
1157 |
+} |
1158 |
+ |
1159 |
+DESCRIPTION="Another cute console display library" |
1160 |
+HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
1161 |
+ |
1162 |
+case ${PV} in |
1163 |
+ *_alpha*|*_beta*|*_rc*) |
1164 |
+ SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz" |
1165 |
+ ;; |
1166 |
+ *) |
1167 |
+ SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)" |
1168 |
+ ;; |
1169 |
+esac |
1170 |
+ |
1171 |
+HOSTLTV="0.1.0" |
1172 |
+HOSTLT="host-libtool-${HOSTLTV}" |
1173 |
+HOSTLT_URI="https://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz" |
1174 |
+SRC_URI+=" ${HOSTLT_URI}" |
1175 |
+HOSTLT_S=${WORKDIR}/${HOSTLT} |
1176 |
+ |
1177 |
+LICENSE="GPL-3" |
1178 |
+SLOT="0/7" # subslot matches SONAME major |
1179 |
+KEYWORDS="~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
1180 |
+IUSE="static-libs utils" |
1181 |
+ |
1182 |
+RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,${MULTILIB_USEDEP}]" |
1183 |
+DEPEND="${RDEPEND} |
1184 |
+ virtual/pkgconfig" |
1185 |
+ |
1186 |
+S=${WORKDIR}/${MY_P} |
1187 |
+ |
1188 |
+PATCHES=( |
1189 |
+ "${FILESDIR}"/${PN}-5.0-no_rpath.patch |
1190 |
+ "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091 |
1191 |
+ "${FILESDIR}"/${PN}-7.0-headers.patch |
1192 |
+ "${FILESDIR}"/${PN}-7.0-missing-echo-proto.patch |
1193 |
+ "${FILESDIR}"/${PN}-7.0-mingw.patch |
1194 |
+ |
1195 |
+ "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch |
1196 |
+ "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch |
1197 |
+ "${FILESDIR}"/${PN}-5.2-ia64hpux.patch |
1198 |
+ "${FILESDIR}"/${PN}-6.0-mint.patch |
1199 |
+ "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch |
1200 |
+ "${FILESDIR}"/${PN}-6.1-aix-soname.patch |
1201 |
+ "${FILESDIR}"/${PN}-6.1-aix-expfull.patch |
1202 |
+ "${FILESDIR}"/${PN}-6.3-interix.patch |
1203 |
+ "${FILESDIR}"/${PN}-6.3-darwin-shlib-versioning.patch |
1204 |
+ |
1205 |
+ "${FILESDIR}"/${PN}-7.0-libtool.patch # this enables building via libtool |
1206 |
+) |
1207 |
+ |
1208 |
+# Needed because we don't want the patches being unpacked |
1209 |
+# (which emits annoying and useless error messages) |
1210 |
+src_unpack() { |
1211 |
+ unpack ${HOSTLT}.tar.gz |
1212 |
+ S="${HOSTLT_S}" elibtoolize |
1213 |
+ unpack ${MY_P}.tar.gz |
1214 |
+} |
1215 |
+ |
1216 |
+src_prepare() { |
1217 |
+ [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s) |
1218 |
+ default |
1219 |
+ |
1220 |
+ # Force ncurses linking. #71420 |
1221 |
+ # Use pkg-config to get the right values. #457558 |
1222 |
+ local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs) |
1223 |
+ sed -i \ |
1224 |
+ -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \ |
1225 |
+ support/shobj-conf || die |
1226 |
+ sed -i \ |
1227 |
+ -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \ |
1228 |
+ examples/rlfe/configure || die |
1229 |
+ |
1230 |
+ # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated |
1231 |
+ # objformat for years, so we don't want to rely on that. |
1232 |
+ sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die |
1233 |
+ |
1234 |
+ ln -s ../.. examples/rlfe/readline || die # for local readline headers |
1235 |
+} |
1236 |
+ |
1237 |
+src_configure() { |
1238 |
+ mkdir -p "${WORKDIR}/${HOSTLT}-${ABI}" || die |
1239 |
+ cd "${WORKDIR}/${HOSTLT}-${ABI}" || die |
1240 |
+ ECONF_SOURCE="${HOSTLT_S}" econf $(use_enable static-libs static) |
1241 |
+ cd "${BUILD_DIR}" |
1242 |
+ |
1243 |
+ export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}" |
1244 |
+ export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs) |
1245 |
+ |
1246 |
+ # fix implicit decls with widechar funcs |
1247 |
+ append-cppflags -D_GNU_SOURCE |
1248 |
+ # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html |
1249 |
+ append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free |
1250 |
+ |
1251 |
+ # Make sure configure picks a better ar than `ar`. #484866 |
1252 |
+ export ac_cv_prog_AR=$(tc-getAR) |
1253 |
+ |
1254 |
+ # Force the test since we used sed above to force it. |
1255 |
+ export bash_cv_termcap_lib=ncurses |
1256 |
+ |
1257 |
+ # Control cross-compiling cases when we know the right answer. |
1258 |
+ # In cases where the C library doesn't support wide characters, readline |
1259 |
+ # itself won't work correctly, so forcing the answer below should be OK. |
1260 |
+ if tc-is-cross-compiler ; then |
1261 |
+ use kernel_Winnt || export bash_cv_func_sigsetjmp='present' |
1262 |
+ export bash_cv_func_ctype_nonascii='yes' |
1263 |
+ export bash_cv_wcwidth_broken='no' #503312 |
1264 |
+ fi |
1265 |
+ |
1266 |
+ # This is for rlfe, but we need to make sure LDFLAGS doesn't change |
1267 |
+ # so we can re-use the config cache file between the two. |
1268 |
+ append-ldflags -L. |
1269 |
+ export LDFLAGS="-L${BUILD_DIR}/shlib ${LDFLAGS}" # search local dirs first |
1270 |
+ |
1271 |
+ multilib-minimal_src_configure |
1272 |
+} |
1273 |
+ |
1274 |
+multilib_src_configure() { |
1275 |
+ local myeconfargs=( |
1276 |
+ --cache-file="${BUILD_DIR}"/config.cache |
1277 |
+ --with-curses |
1278 |
++ --disable-shared # use libtool instead |
1279 |
+ ) |
1280 |
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" |
1281 |
+ |
1282 |
+ if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then |
1283 |
+ # code is full of AC_TRY_RUN() |
1284 |
+ mkdir -p examples/rlfe || die |
1285 |
+ cd examples/rlfe || die |
1286 |
+ ECONF_SOURCE="${S}"/examples/rlfe \ |
1287 |
+ econf --cache-file="${BUILD_DIR}"/config.cache |
1288 |
+ fi |
1289 |
+} |
1290 |
+ |
1291 |
+multilib_src_compile() { |
1292 |
+ export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}" |
1293 |
+ export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs) |
1294 |
+ emake shared |
1295 |
+ |
1296 |
+ if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then |
1297 |
+ # code is full of AC_TRY_RUN() |
1298 |
+ cd examples/rlfe || die |
1299 |
+ local l |
1300 |
+ for l in readline history ; do |
1301 |
+ ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die |
1302 |
+ ln -s ../../lib${l}.a lib${l}.a || die |
1303 |
+ done |
1304 |
+ emake LTLINK='libtool --mode=link --tag=CC' |
1305 |
+ fi |
1306 |
+} |
1307 |
+ |
1308 |
+multilib_src_install() { |
1309 |
+ export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}" |
1310 |
+ export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs) |
1311 |
+ emake DESTDIR="${D}" install-shared |
1312 |
+ |
1313 |
+ if multilib_is_native_abi ; then |
1314 |
+ gen_usr_ldscript -a readline history #4411 |
1315 |
+ |
1316 |
+ if use utils && ! tc-is-cross-compiler; then |
1317 |
+ dobin examples/rlfe/rlfe |
1318 |
+ fi |
1319 |
+ fi |
1320 |
+} |
1321 |
+ |
1322 |
+multilib_src_install_all() { |
1323 |
+ HTML_DOCS="doc/history.html doc/readline.html doc/rluserman.html" einstalldocs |
1324 |
+ dodoc USAGE |
1325 |
+ docinto ps |
1326 |
+ dodoc doc/*.ps |
1327 |
+ |
1328 |
+ prune_libtool_files --all |
1329 |
+} |
1330 |
+pkg_preinst() { |
1331 |
+ # bug #29865 |
1332 |
+ # Reappeared in #595324 with paludis so keeping this for now... |
1333 |
+ preserve_old_lib \ |
1334 |
+ /$(get_libdir)/lib{history,readline}$(get_libname 4) \ |
1335 |
+ /$(get_libdir)/lib{history,readline}$(get_libname 5) \ |
1336 |
+ /$(get_libdir)/lib{history,readline}$(get_libname 6) |
1337 |
+} |
1338 |
+ |
1339 |
+pkg_postinst() { |
1340 |
+ preserve_old_lib_notify \ |
1341 |
+ /$(get_libdir)/lib{history,readline}$(get_libname 4) \ |
1342 |
+ /$(get_libdir)/lib{history,readline}$(get_libname 5) \ |
1343 |
+ /$(get_libdir)/lib{history,readline}$(get_libname 6) |
1344 |
+} |