Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: sys-libs/readline/files/, sys-libs/readline/
Date: Wed, 23 Dec 2020 09:36:46
Message-Id: 1608716110.7f9b24c6ef4e6bcaabd00e9bc58ff0d475aeff9a.grobian@gentoo
1 commit: 7f9b24c6ef4e6bcaabd00e9bc58ff0d475aeff9a
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 23 09:35:10 2020 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 23 09:35:10 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=7f9b24c6
7
8 sys-libs/readline: drop ~ppc-aix
9
10 Bug: https://bugs.gentoo.org/760057
11 Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
12 Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
13
14 sys-libs/readline/Manifest | 1 -
15 .../readline/files/readline-5.2-ia64hpux.patch | 14 -
16 .../files/readline-5.2-rlfe-aix-eff_uid.patch | 25 -
17 .../readline/files/readline-5.2-rlfe-hpux.patch | 11 -
18 .../readline/files/readline-6.1-aix-expfull.patch | 26 -
19 .../readline/files/readline-6.1-aix-soname.patch | 18 -
20 sys-libs/readline/files/readline-6.3-interix.patch | 14 -
21 sys-libs/readline/files/readline-7.0-libtool.patch | 745 ---------------------
22 sys-libs/readline/readline-8.0_p4.ebuild | 49 +-
23 sys-libs/readline/readline-8.1.ebuild | 43 +-
24 10 files changed, 12 insertions(+), 934 deletions(-)
25
26 diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest
27 index 41c3e4de1e..db9715837e 100644
28 --- a/sys-libs/readline/Manifest
29 +++ b/sys-libs/readline/Manifest
30 @@ -1,4 +1,3 @@
31 -DIST host-libtool-0.1.0.tar.gz 388867 BLAKE2B e8bfd1212f39d6262721c4a12535799f4e3428b83f3174bac373c15813462950218dd689380ab8caaf84186b60c29a1fafadfa1c2d0e5cb7f76f6d1699bdcabc SHA512 d8764d7814abf06556fb6eb19c12c2de1d1dc9f2f325deae55606ddfcf88963d65713d6fbd1fae0ab1a0668d90f84204e1cdcbd557944660ab01ecfe3a824ca5
32 DIST readline-8.0.tar.gz 2975937 BLAKE2B 95e08b28cc46582f036379413810ca40c97d4d3bc59a9e03e04e57d531573abfbe955f6f1cb86e39c208bf6c3f4c618cff70a87bec596d0b9120909d6c5a2f69 SHA512 41759d27bc3a258fefd7f4ff3277fa6ab9c21abb7b160e1a75aa8eba547bd90b288514e76264bd94fb0172da8a4faa54aab2c07b68a0356918ecf7f1969e866f
33 DIST readline-8.1.tar.gz 2993288 BLAKE2B f0feca1ea3517b2b613adacac8c997cce0e86aa2f410c82a40ce1a2e128067112b4c68dbf25b808291c28c47583345abac994ce10b8d117958afcb96ee5e7c69 SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00
34 DIST readline80-001 927 BLAKE2B 95e3ac33ff4adb65813274864c17781056a8ea065f9a76571b4a6bcb2ebab090c3a021fa2b621832c11b5995e48a8a26dd6e3a8f5864a8e8b520bfcf85d7c4ab SHA512 a148cda6ac97935d51ede1bbacf847d7d2cba8861cf3941d32e3da2f45f16dcc05b20845b63d4264692520db8329e1236cf2bc4fd8ccbe6e40921bbbdeb2cb1c
35
36 diff --git a/sys-libs/readline/files/readline-5.2-ia64hpux.patch b/sys-libs/readline/files/readline-5.2-ia64hpux.patch
37 deleted file mode 100644
38 index 3c340e9f2b..0000000000
39 --- a/sys-libs/readline/files/readline-5.2-ia64hpux.patch
40 +++ /dev/null
41 @@ -1,14 +0,0 @@
42 ---- a/support/shobj-conf 2008-02-06 09:37:12 +0100
43 -+++ b/support/shobj-conf 2008-02-06 09:38:30 +0100
44 -@@ -363,7 +363,10 @@
45 - SHOBJ_LDFLAGS='-shared -fpic -Wl,-b -Wl,+s -Wl,+h,$@'
46 -
47 - SHLIB_XLDFLAGS='-Wl,+b,$(libdir)'
48 -- SHLIB_LIBSUFF='sl'
49 -+ case ${host_cpu} in
50 -+ ia64) SHLIB_LIBSUFF='so' ;;
51 -+ *) SHLIB_LIBSUFF='sl' ;;
52 -+ esac
53 - SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
54 - ;;
55 -
56
57 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
58 deleted file mode 100644
59 index cc6e730718..0000000000
60 --- a/sys-libs/readline/files/readline-5.2-rlfe-aix-eff_uid.patch
61 +++ /dev/null
62 @@ -1,25 +0,0 @@
63 -* Fabian Groffen
64 - The AIX linker complains that eff_uid is undefined. I guess this is
65 - right, as it is unknown where to export from. So instead of relying
66 - on pure luck that it is defined in one of the includes, just use the
67 - function that was made for this purpose of retrieving the value.
68 -
69 ---- a/examples/rlfe/pty.c
70 -+++ b/examples/rlfe/pty.c
71 -@@ -70,7 +70,7 @@
72 - # undef HAVE_SVR4_PTYS
73 - #endif
74 -
75 --extern int eff_uid;
76 -+static int eff_uid;
77 -
78 - /* used for opening a new pty-pair: */
79 - static char PtyName[32], TtyName[32];
80 -@@ -114,6 +114,7 @@
81 - initmaster(f)
82 - int f;
83 - {
84 -+ eff_uid = getuid();
85 - #ifdef POSIX
86 - tcflush(f, TCIOFLUSH);
87 - #else
88
89 diff --git a/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch b/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch
90 deleted file mode 100644
91 index 2742b77217..0000000000
92 --- a/sys-libs/readline/files/readline-5.2-rlfe-hpux.patch
93 +++ /dev/null
94 @@ -1,11 +0,0 @@
95 ---- a/examples/rlfe/os.h 2007-11-20 10:33:49 +0100
96 -+++ b/examples/rlfe/os.h 2007-11-20 10:36:25 +0100
97 -@@ -426,7 +426,7 @@
98 - #define SIGCHLD SIGCLD
99 - #endif
100 -
101 --#if defined(POSIX) || defined(hpux)
102 -+#if defined(POSIX)
103 - # define signal xsignal
104 - #else
105 - # ifdef USESIGSET
106
107 diff --git a/sys-libs/readline/files/readline-6.1-aix-expfull.patch b/sys-libs/readline/files/readline-6.1-aix-expfull.patch
108 deleted file mode 100644
109 index eada6fa6a7..0000000000
110 --- a/sys-libs/readline/files/readline-6.1-aix-expfull.patch
111 +++ /dev/null
112 @@ -1,26 +0,0 @@
113 -Michael Haubenwallner:
114 -
115 -On AIX, -bexpall does not export symbols starting with '_', and we get
116 -ld: 0711-317 ERROR: Undefined symbol: _rl_echoing_p
117 -With -bexpfull, all symbols are exported.
118 -
119 ---- a/support/shobj-conf 2010-01-25 13:02:55 +0100
120 -+++ b/support/shobj-conf 2010-01-25 13:03:36 +0100
121 -@@ -265,7 +265,7 @@
122 - aix4.[2-9]*-*gcc*|aix[5-9].*-*gcc*) # lightly tested by jik@×××××.com
123 - SHOBJ_CFLAGS=-fpic
124 - SHOBJ_LD='ld'
125 -- SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpall'
126 -+ SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpfull'
127 - SHOBJ_XLDFLAGS='-G'
128 -
129 - SHLIB_XLDFLAGS='-bM:SRE'
130 -@@ -276,7 +276,7 @@
131 - aix4.[2-9]*|aix[5-9].*)
132 - SHOBJ_CFLAGS=-K
133 - SHOBJ_LD='ld'
134 -- SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpall'
135 -+ SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpfull'
136 - SHOBJ_XLDFLAGS='-G'
137 -
138 - SHLIB_XLDFLAGS='-bM:SRE'
139
140 diff --git a/sys-libs/readline/files/readline-6.1-aix-soname.patch b/sys-libs/readline/files/readline-6.1-aix-soname.patch
141 deleted file mode 100644
142 index 82fb050978..0000000000
143 --- a/sys-libs/readline/files/readline-6.1-aix-soname.patch
144 +++ /dev/null
145 @@ -1,18 +0,0 @@
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 ---- a/support/shobj-conf 2011-02-08 11:53:20 +0100
154 -+++ b/support/shobj-conf 2011-02-08 11:57:14 +0100
155 -@@ -269,7 +269,7 @@
156 - SHOBJ_LDFLAGS='-bdynamic -bnoentry -bexpfull'
157 - SHOBJ_XLDFLAGS='-G'
158 -
159 -- SHLIB_XLDFLAGS='-bM:SRE'
160 -+ SHLIB_XLDFLAGS='-bM:SRE -soname `basename $@ $(SHLIB_MINOR)`'
161 - SHLIB_LIBS='-lcurses -lc'
162 - SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)'
163 - ;;
164
165 diff --git a/sys-libs/readline/files/readline-6.3-interix.patch b/sys-libs/readline/files/readline-6.3-interix.patch
166 deleted file mode 100644
167 index 94c033e60d..0000000000
168 --- a/sys-libs/readline/files/readline-6.3-interix.patch
169 +++ /dev/null
170 @@ -1,14 +0,0 @@
171 -diff -urB readline-6.3.orig/examples/rlfe/rlfe.c readline-6.3/examples/rlfe/rlfe.c
172 ---- readline-6.3.orig/examples/rlfe/rlfe.c 2014-11-27 07:37:41.225503671 -0200
173 -+++ readline-6.3/examples/rlfe/rlfe.c 2014-11-27 07:41:12.285503660 -0200
174 -@@ -79,6 +79,10 @@
175 - # include <sys/wait.h>
176 - #endif
177 -
178 -+#ifdef __INTERIX
179 -+# include <sys/select.h>
180 -+#endif
181 -+
182 - #ifdef READLINE_LIBRARY
183 - # include "readline.h"
184 - # include "history.h"
185
186 diff --git a/sys-libs/readline/files/readline-7.0-libtool.patch b/sys-libs/readline/files/readline-7.0-libtool.patch
187 deleted file mode 100644
188 index 5b436b4bdb..0000000000
189 --- a/sys-libs/readline/files/readline-7.0-libtool.patch
190 +++ /dev/null
191 @@ -1,745 +0,0 @@
192 -diff -ru readline-7.0.orig/examples/rlfe/Makefile.in readline-7.0/examples/rlfe/Makefile.in
193 ---- readline-7.0.orig/examples/rlfe/Makefile.in 2009-02-22 23:27:18.000000000 +0000
194 -+++ readline-7.0/examples/rlfe/Makefile.in 2018-12-27 16:24:26.200061860 +0000
195 -@@ -49,7 +49,7 @@
196 - all: rlfe
197 -
198 - rlfe: $(OFILES)
199 -- $(CC) $(LDFLAGS) -o $@ $(OFILES) $(LIBS)
200 -+ $(LTLINK) $(CC) $(LDFLAGS) $(CFLAGS) -o $@ $(OFILES) $(LIBS)
201 -
202 - rlfe-$(VERSION).tar.gz:
203 - tar czf $@ $(CFILES) $(HFILES) $(EXTRA_DIST)
204 -diff -ru readline-7.0.orig/shlib/Makefile.in readline-7.0/shlib/Makefile.in
205 ---- readline-7.0.orig/shlib/Makefile.in 2015-07-13 00:41:58.000000000 +0000
206 -+++ readline-7.0/shlib/Makefile.in 2018-12-27 16:25:28.204577868 +0000
207 -@@ -78,14 +78,14 @@
208 - # changes to bash-maintainers@×××.org.
209 - #
210 - SHOBJ_CC = @SHOBJ_CC@
211 --SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
212 --SHOBJ_LD = @SHOBJ_LD@
213 -+SHOBJ_CFLAGS_shared = @SHOBJ_CFLAGS@
214 -+SHOBJ_LD_shared = @SHOBJ_LD@
215 -
216 --SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@
217 --SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
218 -+SHOBJ_LDFLAGS_shared = @SHOBJ_LDFLAGS@
219 -+SHOBJ_XLDFLAGS_shared = @SHOBJ_XLDFLAGS@
220 - SHOBJ_LIBS = @SHOBJ_LIBS@
221 -
222 --SHLIB_XLDFLAGS = @LDFLAGS@ @SHLIB_XLDFLAGS@
223 -+SHLIB_XLDFLAGS_shared = @SHLIB_XLDFLAGS@
224 - SHLIB_LIBS = @SHLIB_LIBS@
225 -
226 - SHLIB_DOT = @SHLIB_DOT@
227 -@@ -95,7 +95,7 @@
228 - SHLIB_LIBVERSION = @SHLIB_LIBVERSION@
229 - SHLIB_DLLVERSION = @SHLIB_DLLVERSION@
230 -
231 --SHLIB_STATUS = @SHLIB_STATUS@
232 -+SHLIB_STATUS_shared = @SHLIB_STATUS@
233 -
234 - TERMCAP_LIB = @TERMCAP_LIB@
235 -
236 -@@ -109,13 +109,52 @@
237 -
238 - CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(INCLUDES) $(CPPFLAGS) $(LOCAL_CFLAGS) $(CFLAGS)
239 -
240 --.SUFFIXES: .so
241 -+SHARED_TARGET = @SHARED_TARGET@ # using libtool when empty
242 -+
243 -+SHLIB_STATUS_ = libtool
244 -+SHLIB_STATUS = $(SHLIB_STATUS_$(SHARED_TARGET))
245 -+
246 -+SO_shared = so
247 -+SO_ = lo # use libtool when SHARED_TARGET is empty
248 -+SO = $(SO_$(SHARED_TARGET))
249 -+
250 -+LIBTOOL_ = libtool
251 -+LIBTOOL = $(LIBTOOL_$(SHARED_TARGET))
252 -+
253 -+LTTAG_CC_ = --tag=CC
254 -+LTCLEAN_ = $(LIBTOOL) --mode=clean
255 -+LTCOMPILE_ = $(LIBTOOL) --mode=compile
256 -+LTINSTALL_ = $(LIBTOOL) --mode=install
257 -+LTLINK_ = $(LIBTOOL) --mode=link
258 -+LTUNINSTALL_ = $(LIBTOOL) --mode=uninstall
259 -+
260 -+SHOBJ_CFLAGS_ =
261 -+SHOBJ_LD_ = $(SHOBJ_CC)
262 -+SHOBJ_LDFLAGS_ = -shared -version-info `echo $(SHLIB_MAJOR)$(SHLIB_MINOR) | sed -e 's/\./:/g'`
263 -+SHLIB_XLDFLAGS_ = -no-undefined -rpath $(libdir)
264 -+
265 -+LTTAG_CC = $(LTTAG_CC_$(SHARED_TARGET))
266 -+LTCLEAN = $(LTCLEAN_$(SHARED_TARGET))
267 -+LTCOMPILE = $(LTCOMPILE_$(SHARED_TARGET))
268 -+LTINSTALL = $(LTINSTALL_$(SHARED_TARGET))
269 -+LTLINK = $(LTLINK_$(SHARED_TARGET))
270 -+LTUNINSTALL = $(LTUNINSTALL_$(SHARED_TARGET))
271 -+
272 -+SHOBJ_CFLAGS = $(SHOBJ_CFLAGS_$(SHARED_TARGET))
273 -+SHOBJ_LD = $(SHOBJ_LD_$(SHARED_TARGET))
274 -+SHOBJ_LDFLAGS = $(SHOBJ_LDFLAGS_$(SHARED_TARGET))
275 -+SHLIB_XLDFLAGS = $(LDFLAGS) $(SHLIB_XLDFLAGS_$(SHARED_TARGET))
276 -+
277 -+.SUFFIXES: .so .lo
278 -
279 - .c.so:
280 - ${RM} $@
281 - $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.o $<
282 - $(MV) $*.o $@
283 -
284 -+.c.lo:
285 -+ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -o $*.lo $<
286 -+
287 - # The name of the main library target.
288 -
289 - SHARED_READLINE = $(SHLIB_LIBPREF)readline$(SHLIB_DOT)$(SHLIB_LIBVERSION)
290 -@@ -147,16 +186,16 @@
291 - $(topdir)/rltypedefs.h $(topdir)/rlmbutil.h \
292 - $(topdir)/colors.h $(topdir)/parse-colors.h
293 -
294 --SHARED_HISTOBJ = history.so histexpand.so histfile.so histsearch.so shell.so \
295 -- mbutil.so
296 --SHARED_TILDEOBJ = tilde.so
297 --SHARED_COLORSOBJ = colors.so parse-colors.so
298 --SHARED_OBJ = readline.so vi_mode.so funmap.so keymaps.so parens.so search.so \
299 -- rltty.so complete.so bind.so isearch.so display.so signals.so \
300 -- util.so kill.so undo.so macro.so input.so callback.so terminal.so \
301 -- text.so nls.so misc.so \
302 -+SHARED_HISTOBJ = history.$(SO) histexpand.$(SO) histfile.$(SO) histsearch.$(SO) shell.$(SO) \
303 -+ mbutil.$(SO)
304 -+SHARED_TILDEOBJ = tilde.$(SO)
305 -+SHARED_COLORSOBJ = colors.$(SO) parse-colors.$(SO)
306 -+SHARED_OBJ = readline.$(SO) vi_mode.$(SO) funmap.$(SO) keymaps.$(SO) parens.$(SO) search.$(SO) \
307 -+ rltty.$(SO) complete.$(SO) bind.$(SO) isearch.$(SO) display.$(SO) signals.$(SO) \
308 -+ util.$(SO) kill.$(SO) undo.$(SO) macro.$(SO) input.$(SO) callback.$(SO) terminal.$(SO) \
309 -+ text.$(SO) nls.$(SO) misc.$(SO) \
310 - $(SHARED_HISTOBJ) $(SHARED_TILDEOBJ) $(SHARED_COLORSOBJ) \
311 -- xmalloc.so xfree.so compat.so
312 -+ xmalloc.$(SO) xfree.$(SO) compat.$(SO)
313 -
314 - ##########################################################################
315 -
316 -@@ -164,6 +203,8 @@
317 -
318 - supported: $(SHARED_LIBS)
319 -
320 -+libtool: libreadline.la libhistory.la
321 -+
322 - unsupported:
323 - @echo "Your system and compiler (${host_os}-${CC}) are not supported by the"
324 - @echo "${topdir}/support/shobj-conf script."
325 -@@ -172,13 +213,15 @@
326 - @echo "Please send the changes you made to bash-maintainers@×××.org"
327 - @echo "for inclusion in future bash and readline releases."
328 -
329 -+libreadline.la \
330 - $(SHARED_READLINE): $(SHARED_OBJ)
331 -- $(RM) $@
332 -- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
333 -+ $(LTCLEAN) $(RM) $@
334 -+ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_OBJ) $(SHLIB_LIBS)
335 -
336 --$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
337 -- $(RM) $@
338 -- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS)
339 -+libhistory.la \
340 -+$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO)
341 -+ $(LTCLEAN) $(RM) $@
342 -+ $(LTLINK) $(LTTAG_CC) $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.$(SO) xfree.$(SO) $(SHLIB_LIBS)
343 -
344 - # Since tilde.c is shared between readline and bash, make sure we compile
345 - # it with the right flags when it's built as part of readline
346 -@@ -187,6 +230,9 @@
347 - $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.o $(topdir)/tilde.c
348 - $(MV) tilde.o $@
349 -
350 -+tilde.lo: tilde.c
351 -+ $(LTCOMPILE) $(LTTAG_CC) $(SHOBJ_CC) -c $(CCFLAGS) $(SHOBJ_CFLAGS) -DREADLINE_LIBRARY -c -o tilde.lo $(topdir)/tilde.c
352 -+
353 - installdirs: $(topdir)/support/mkdirs
354 - -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(libdir)
355 - -$(SHELL) $(topdir)/support/mkdirs $(DESTDIR)$(bindir)
356 -@@ -196,6 +242,10 @@
357 - $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -i "$(INSTALL_DATA)" $(SHARED_READLINE)
358 - @echo install: you may need to run ldconfig
359 -
360 -+install-libtool: installdirs $(SHLIB_STATUS)
361 -+ $(LTINSTALL) $(INSTALL_DATA) libhistory.la $(DESTDIR)$(libdir)
362 -+ $(LTINSTALL) $(INSTALL_DATA) libreadline.la $(DESTDIR)$(libdir)
363 -+
364 - install-unsupported:
365 - @echo install: shared libraries not supported
366 -
367 -@@ -206,13 +256,17 @@
368 - $(SHELL) $(topdir)/support/shlib-install -O $(host_os) -V $(host_vendor) -d $(DESTDIR)$(libdir) -b $(DESTDIR)$(bindir) -U $(SHARED_READLINE)
369 - @echo uninstall: you may need to run ldconfig
370 -
371 -+uninstall-libtool:
372 -+ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libhistory.la
373 -+ $(LTUNINSTALL) $(RM) $(DESTDIR)$(libdir)/libreadline.la
374 -+
375 - uninstall-unsupported:
376 - @echo uninstall: shared libraries not supported
377 -
378 - uninstall: uninstall-$(SHLIB_STATUS)
379 -
380 - clean mostlyclean: force
381 -- $(RM) $(SHARED_OBJ) $(SHARED_LIBS)
382 -+ $(LTCLEAN) $(RM) $(SHARED_OBJ) $(SHARED_LIBS) libreadline.la libhistory.la
383 -
384 - distclean maintainer-clean: clean
385 - $(RM) Makefile
386 -@@ -224,278 +278,278 @@
387 - .NOEXPORT:
388 -
389 - # Dependencies
390 --bind.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
391 --bind.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
392 --bind.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
393 --bind.so: $(topdir)/rltypedefs.h
394 --bind.so: $(topdir)/tilde.h $(topdir)/history.h
395 --compat.so: ${BUILD_DIR}/config.h
396 --compat.so: $(topdir)/rlstdc.h $(topdir)/rltypedefs.h
397 --callback.so: $(topdir)/rlconf.h
398 --callback.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h
399 --callback.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
400 --callback.so: $(topdir)/rltypedefs.h
401 --callback.so: $(topdir)/tilde.h
402 --complete.so: $(topdir)/ansi_stdlib.h $(topdir)/posixdir.h $(topdir)/posixstat.h
403 --complete.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
404 --complete.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
405 --complete.so: $(topdir)/rltypedefs.h
406 --complete.so: $(topdir)/tilde.h
407 --display.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
408 --display.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
409 --display.so: $(topdir)/tcap.h
410 --display.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
411 --display.so: $(topdir)/rltypedefs.h
412 --display.so: $(topdir)/tilde.h $(topdir)/history.h
413 --funmap.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
414 --funmap.so: $(topdir)/rltypedefs.h
415 --funmap.so: $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
416 --funmap.so: ${BUILD_DIR}/config.h $(topdir)/tilde.h
417 --histexpand.so: $(topdir)/ansi_stdlib.h
418 --histexpand.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
419 --histexpand.so: ${BUILD_DIR}/config.h
420 --histfile.so: $(topdir)/ansi_stdlib.h
421 --histfile.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
422 --histfile.so: ${BUILD_DIR}/config.h
423 --history.so: $(topdir)/ansi_stdlib.h
424 --history.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
425 --history.so: ${BUILD_DIR}/config.h
426 --histsearch.so: $(topdir)/ansi_stdlib.h
427 --histsearch.so: $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
428 --histsearch.so: ${BUILD_DIR}/config.h
429 --input.so: $(topdir)/ansi_stdlib.h
430 --input.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
431 --input.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
432 --input.so: $(topdir)/rltypedefs.h
433 --input.so: $(topdir)/tilde.h
434 --isearch.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
435 --isearch.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
436 --isearch.so: $(topdir)/rltypedefs.h
437 --isearch.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
438 --keymaps.so: $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
439 --keymaps.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
440 --keymaps.so: $(topdir)/rltypedefs.h
441 --keymaps.so: ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
442 --kill.so: $(topdir)/ansi_stdlib.h
443 --kill.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
444 --kill.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
445 --kill.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
446 --macro.so: $(topdir)/ansi_stdlib.h
447 --macro.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
448 --macro.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
449 --macro.so: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
450 --mbutil.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
451 --mbutil.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
452 --mbutil.so: $(topdir)/chardefs.h $(topdir)/rlstdc.h
453 --misc.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
454 --misc.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
455 --misc.so: $(topdir)/rltypedefs.h
456 --misc.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
457 --nls.so: $(topdir)/ansi_stdlib.h
458 --nls.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
459 -+bind$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
460 -+bind$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
461 -+bind$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
462 -+bind$(SO): $(topdir)/rltypedefs.h
463 -+bind$(SO): $(topdir)/tilde.h $(topdir)/history.h
464 -+compat$(SO): ${BUILD_DIR}/config.h
465 -+compat$(SO): $(topdir)/rlstdc.h $(topdir)/rltypedefs.h
466 -+callback$(SO): $(topdir)/rlconf.h
467 -+callback$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h
468 -+callback$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
469 -+callback$(SO): $(topdir)/rltypedefs.h
470 -+callback$(SO): $(topdir)/tilde.h
471 -+complete$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixdir.h $(topdir)/posixstat.h
472 -+complete$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
473 -+complete$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
474 -+complete$(SO): $(topdir)/rltypedefs.h
475 -+complete$(SO): $(topdir)/tilde.h
476 -+display$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
477 -+display$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
478 -+display$(SO): $(topdir)/tcap.h
479 -+display$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
480 -+display$(SO): $(topdir)/rltypedefs.h
481 -+display$(SO): $(topdir)/tilde.h $(topdir)/history.h
482 -+funmap$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
483 -+funmap$(SO): $(topdir)/rltypedefs.h
484 -+funmap$(SO): $(topdir)/rlconf.h $(topdir)/ansi_stdlib.h
485 -+funmap$(SO): ${BUILD_DIR}/config.h $(topdir)/tilde.h
486 -+histexpand$(SO): $(topdir)/ansi_stdlib.h
487 -+histexpand$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
488 -+histexpand$(SO): ${BUILD_DIR}/config.h
489 -+histfile$(SO): $(topdir)/ansi_stdlib.h
490 -+histfile$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
491 -+histfile$(SO): ${BUILD_DIR}/config.h
492 -+history$(SO): $(topdir)/ansi_stdlib.h
493 -+history$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
494 -+history$(SO): ${BUILD_DIR}/config.h
495 -+histsearch$(SO): $(topdir)/ansi_stdlib.h
496 -+histsearch$(SO): $(topdir)/history.h $(topdir)/histlib.h $(topdir)/rltypedefs.h
497 -+histsearch$(SO): ${BUILD_DIR}/config.h
498 -+input$(SO): $(topdir)/ansi_stdlib.h
499 -+input$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
500 -+input$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
501 -+input$(SO): $(topdir)/rltypedefs.h
502 -+input$(SO): $(topdir)/tilde.h
503 -+isearch$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
504 -+isearch$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
505 -+isearch$(SO): $(topdir)/rltypedefs.h
506 -+isearch$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
507 -+keymaps$(SO): $(topdir)/keymaps.h $(topdir)/chardefs.h $(topdir)/rlconf.h
508 -+keymaps$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
509 -+keymaps$(SO): $(topdir)/rltypedefs.h
510 -+keymaps$(SO): ${BUILD_DIR}/config.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
511 -+kill$(SO): $(topdir)/ansi_stdlib.h
512 -+kill$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
513 -+kill$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
514 -+kill$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
515 -+macro$(SO): $(topdir)/ansi_stdlib.h
516 -+macro$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
517 -+macro$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
518 -+macro$(SO): $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rltypedefs.h
519 -+mbutil$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
520 -+mbutil$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
521 -+mbutil$(SO): $(topdir)/chardefs.h $(topdir)/rlstdc.h
522 -+misc$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
523 -+misc$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
524 -+misc$(SO): $(topdir)/rltypedefs.h
525 -+misc$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
526 -+nls$(SO): $(topdir)/ansi_stdlib.h
527 -+nls$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
528 - nls.o: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
529 - nls.o: $(topdir)/rltypedefs.h
530 - nls.o: $(topdir)/tilde.h $(topdir)/history.h $(topdir)/rlstdc.h
531 --parens.so: $(topdir)/rlconf.h ${BUILD_DIR}/config.h
532 --parens.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
533 --parens.so: $(topdir)/rltypedefs.h
534 --parens.so: $(topdir)/tilde.h
535 --rltty.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
536 --rltty.so: $(topdir)/rltty.h $(topdir)/tilde.h
537 --rltty.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
538 --rltty.so: $(topdir)/rltypedefs.h
539 --savestring.so: ${BUILD_DIR}/config.h
540 --search.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
541 --search.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
542 --search.so: $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
543 --search.so: $(topdir)/rltypedefs.h
544 --signals.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
545 --signals.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
546 --signals.so: $(topdir)/history.h $(topdir)/tilde.h
547 --signals.so: $(topdir)/rltypedefs.h
548 --terminal.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
549 --terminal.so: $(topdir)/tcap.h
550 --terminal.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
551 --terminal.so: $(topdir)/tilde.h $(topdir)/history.h
552 --terminal.so: $(topdir)/rltypedefs.h
553 --text.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
554 --text.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
555 --text.so: $(topdir)/rltypedefs.h
556 --text.so: $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
557 --tilde.so: $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
558 --undo.so: $(topdir)/ansi_stdlib.h
559 --undo.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
560 --undo.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
561 --undo.so: $(topdir)/rltypedefs.h
562 --undo.so: $(topdir)/tilde.h $(topdir)/history.h
563 --util.so: $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
564 --util.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
565 --util.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
566 --util.so: $(topdir)/rltypedefs.h $(topdir)/tilde.h
567 --vi_mode.so: $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
568 --vi_mode.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
569 --vi_mode.so: $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
570 --vi_mode.so: $(topdir)/rltypedefs.h
571 --xfree.so: ${BUILD_DIR}/config.h
572 --xfree.so: $(topdir)/ansi_stdlib.h
573 --xmalloc.so: ${BUILD_DIR}/config.h
574 --xmalloc.so: $(topdir)/ansi_stdlib.h
575 --
576 --bind.so: $(topdir)/rlshell.h
577 --histfile.so: $(topdir)/rlshell.h
578 --nls.so: $(topdir)/rlshell.h
579 --readline.so: $(topdir)/rlshell.h
580 --shell.so: $(topdir)/rlshell.h
581 --terminal.so: $(topdir)/rlshell.h
582 --histexpand.so: $(topdir)/rlshell.h
583 --
584 --colors.so: $(BUILD_DIR)/config.h $(topdir)/colors.h
585 --colors.so: $(topdir)/rlconf.h
586 --colors.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
587 --colors.so: $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
588 --colors.so: $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
589 --parse-colors.so: $(BUILD_DIR)/config.h $(topdir)/colors.h $(topdir)/parse-colors.h
590 --parse-colors.so: $(topdir)/rldefs.h $(topdir)/rlconf.h
591 --parse-colors.so: $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
592 --parse-colors.so: $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
593 --
594 --bind.so: $(topdir)/rlprivate.h
595 --callback.so: $(topdir)/rlprivate.h
596 --complete.so: $(topdir)/rlprivate.h
597 --display.so: $(topdir)/rlprivate.h
598 --input.so: $(topdir)/rlprivate.h
599 --isearch.so: $(topdir)/rlprivate.h
600 --kill.so: $(topdir)/rlprivate.h
601 --macro.so: $(topdir)/rlprivate.h
602 --mbutil.so: $(topdir)/rlprivate.h
603 --misc.so: $(topdir)/rlprivate.h
604 --nls.so: $(topdir)/rlprivate.h
605 --parens.so: $(topdir)/rlprivate.h
606 --readline.so: $(topdir)/rlprivate.h
607 --rltty.so: $(topdir)/rlprivate.h
608 --search.so: $(topdir)/rlprivate.h
609 --signals.so: $(topdir)/rlprivate.h
610 --terminal.so: $(topdir)/rlprivate.h
611 --text.so: $(topdir)/rlprivate.h
612 --undo.so: $(topdir)/rlprivate.h
613 --util.so: $(topdir)/rlprivate.h
614 --vi_mode.so: $(topdir)/rlprivate.h
615 --colors.so: $(topdir)/rlprivate.h
616 --parse-colors.so: $(topdir)/rlprivate.h
617 --
618 --bind.so: $(topdir)/xmalloc.h
619 --callback.so: $(topdir)/xmalloc.h
620 --complete.so: $(topdir)/xmalloc.h
621 --display.so: $(topdir)/xmalloc.h
622 --funmap.so: $(topdir)/xmalloc.h
623 --histexpand.so: $(topdir)/xmalloc.h
624 --histfile.so: $(topdir)/xmalloc.h
625 --history.so: $(topdir)/xmalloc.h
626 --input.so: $(topdir)/xmalloc.h
627 --isearch.so: $(topdir)/xmalloc.h
628 --keymaps.so: $(topdir)/xmalloc.h
629 --kill.so: $(topdir)/xmalloc.h
630 --macro.so: $(topdir)/xmalloc.h
631 --mbutil.so: $(topdir)/xmalloc.h
632 --misc.so: $(topdir)/xmalloc.h
633 --readline.so: $(topdir)/xmalloc.h
634 --savestring.so: $(topdir)/xmalloc.h
635 --search.so: $(topdir)/xmalloc.h
636 --shell.so: $(topdir)/xmalloc.h
637 --terminal.so: $(topdir)/xmalloc.h
638 --text.so: $(topdir)/xmalloc.h
639 --tilde.so: $(topdir)/xmalloc.h
640 --undo.so: $(topdir)/xmalloc.h
641 --util.so: $(topdir)/xmalloc.h
642 --vi_mode.so: $(topdir)/xmalloc.h
643 --xfree.so: $(topdir)/xmalloc.h
644 --xmalloc.so: $(topdir)/xmalloc.h
645 --colors.so: $(topdir)/xmalloc.h
646 --parse-colors.so: $(topdir)/xmalloc.h
647 --
648 --complete.so: $(topdir)/rlmbutil.h
649 --display.so: $(topdir)/rlmbutil.h
650 --histexpand.so: $(topdir)/rlmbutil.h
651 --input.so: $(topdir)/rlmbutil.h
652 --isearch.so: $(topdir)/rlmbutil.h
653 --mbutil.so: $(topdir)/rlmbutil.h
654 --misc.so: $(topdir)/rlmbutil.h
655 --readline.so: $(topdir)/rlmbutil.h
656 --search.so: $(topdir)/rlmbutil.h
657 --text.so: $(topdir)/rlmbutil.h
658 --vi_mode.so: $(topdir)/rlmbutil.h
659 --colors.so: $(topdir)/rlmbutil.h
660 --parse-colors.so: $(topdir)/rlmbutil.h
661 --
662 --bind.so: $(topdir)/bind.c
663 --callback.so: $(topdir)/callback.c
664 --compat.so: $(topdir)/compat.c
665 --complete.so: $(topdir)/complete.c
666 --display.so: $(topdir)/display.c
667 --funmap.so: $(topdir)/funmap.c
668 --input.so: $(topdir)/input.c
669 --isearch.so: $(topdir)/isearch.c
670 --keymaps.so: $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c
671 --kill.so: $(topdir)/kill.c
672 --macro.so: $(topdir)/macro.c
673 --mbutil.so: $(topdir)/mbutil.c
674 --misc.so: $(topdir)/mbutil.c
675 --nls.so: $(topdir)/nls.c
676 --parens.so: $(topdir)/parens.c
677 --readline.so: $(topdir)/readline.c
678 --rltty.so: $(topdir)/rltty.c
679 --savestring.so: $(topdir)/savestring.c
680 --search.so: $(topdir)/search.c
681 --shell.so: $(topdir)/shell.c
682 --signals.so: $(topdir)/signals.c
683 --terminal.so: $(topdir)/terminal.c
684 --text.so: $(topdir)/text.c
685 --tilde.so: $(topdir)/tilde.c
686 --undo.so: $(topdir)/undo.c
687 --util.so: $(topdir)/util.c
688 --vi_mode.so: $(topdir)/vi_mode.c
689 --xfree.so: $(topdir)/xfree.c
690 --xmalloc.so: $(topdir)/xmalloc.c
691 --
692 --histexpand.so: $(topdir)/histexpand.c
693 --histfile.so: $(topdir)/histfile.c
694 --history.so: $(topdir)/history.c
695 --histsearch.so: $(topdir)/histsearch.c
696 --
697 --bind.so: bind.c
698 --callback.so: callback.c
699 --comapt.so: compat.c
700 --complete.so: complete.c
701 --display.so: display.c
702 --funmap.so: funmap.c
703 --input.so: input.c
704 --isearch.so: isearch.c
705 --keymaps.so: keymaps.c emacs_keymap.c vi_keymap.c
706 --kill.so: kill.c
707 --macro.so: macro.c
708 --mbutil.so: mbutil.c
709 --misc.so: misc.c
710 --nls.so: nls.c
711 --parens.so: parens.c
712 --readline.so: readline.c
713 --rltty.so: rltty.c
714 --savestring.so: savestring.c
715 --search.so: search.c
716 --signals.so: signals.c
717 --shell.so: shell.c
718 --terminal.so: terminal.c
719 --text.so: text.c
720 --tilde.so: tilde.c
721 --undo.so: undo.c
722 --util.so: util.c
723 --vi_mode.so: vi_mode.c
724 --xfree.so: xfree.c
725 --xmalloc.so: xmalloc.c
726 --
727 --colors.so: colors.c
728 --parse-colors.so: parse-colors.c
729 --
730 --histexpand.so: histexpand.c
731 --histfile.so: histfile.c
732 --history.so: history.c
733 --histsearch.so: histsearch.c
734 -+parens$(SO): $(topdir)/rlconf.h ${BUILD_DIR}/config.h
735 -+parens$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
736 -+parens$(SO): $(topdir)/rltypedefs.h
737 -+parens$(SO): $(topdir)/tilde.h
738 -+rltty$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
739 -+rltty$(SO): $(topdir)/rltty.h $(topdir)/tilde.h
740 -+rltty$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
741 -+rltty$(SO): $(topdir)/rltypedefs.h
742 -+savestring$(SO): ${BUILD_DIR}/config.h
743 -+search$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
744 -+search$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
745 -+search$(SO): $(topdir)/ansi_stdlib.h $(topdir)/history.h $(topdir)/tilde.h
746 -+search$(SO): $(topdir)/rltypedefs.h
747 -+signals$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
748 -+signals$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
749 -+signals$(SO): $(topdir)/history.h $(topdir)/tilde.h
750 -+signals$(SO): $(topdir)/rltypedefs.h
751 -+terminal$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
752 -+terminal$(SO): $(topdir)/tcap.h
753 -+terminal$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
754 -+terminal$(SO): $(topdir)/tilde.h $(topdir)/history.h
755 -+terminal$(SO): $(topdir)/rltypedefs.h
756 -+text$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
757 -+text$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
758 -+text$(SO): $(topdir)/rltypedefs.h
759 -+text$(SO): $(topdir)/history.h $(topdir)/tilde.h $(topdir)/ansi_stdlib.h
760 -+tilde$(SO): $(topdir)/ansi_stdlib.h ${BUILD_DIR}/config.h $(topdir)/tilde.h
761 -+undo$(SO): $(topdir)/ansi_stdlib.h
762 -+undo$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
763 -+undo$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
764 -+undo$(SO): $(topdir)/rltypedefs.h
765 -+undo$(SO): $(topdir)/tilde.h $(topdir)/history.h
766 -+util$(SO): $(topdir)/posixjmp.h $(topdir)/ansi_stdlib.h
767 -+util$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
768 -+util$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
769 -+util$(SO): $(topdir)/rltypedefs.h $(topdir)/tilde.h
770 -+vi_mode$(SO): $(topdir)/rldefs.h ${BUILD_DIR}/config.h $(topdir)/rlconf.h
771 -+vi_mode$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/chardefs.h
772 -+vi_mode$(SO): $(topdir)/history.h $(topdir)/ansi_stdlib.h $(topdir)/tilde.h
773 -+vi_mode$(SO): $(topdir)/rltypedefs.h
774 -+xfree$(SO): ${BUILD_DIR}/config.h
775 -+xfree$(SO): $(topdir)/ansi_stdlib.h
776 -+xmalloc$(SO): ${BUILD_DIR}/config.h
777 -+xmalloc$(SO): $(topdir)/ansi_stdlib.h
778 -+
779 -+bind$(SO): $(topdir)/rlshell.h
780 -+histfile$(SO): $(topdir)/rlshell.h
781 -+nls$(SO): $(topdir)/rlshell.h
782 -+readline$(SO): $(topdir)/rlshell.h
783 -+shell$(SO): $(topdir)/rlshell.h
784 -+terminal$(SO): $(topdir)/rlshell.h
785 -+histexpand$(SO): $(topdir)/rlshell.h
786 -+
787 -+colors$(SO): $(BUILD_DIR)/config.h $(topdir)/colors.h
788 -+colors$(SO): $(topdir)/rlconf.h
789 -+colors$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
790 -+colors$(SO): $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
791 -+colors$(SO): $(topdir)/ansi_stdlib.h $(topdir)/posixstat.h
792 -+parse-colors$(SO): $(BUILD_DIR)/config.h $(topdir)/colors.h $(topdir)/parse-colors.h
793 -+parse-colors$(SO): $(topdir)/rldefs.h $(topdir)/rlconf.h
794 -+parse-colors$(SO): $(topdir)/readline.h $(topdir)/keymaps.h $(topdir)/rltypedefs.h
795 -+parse-colors$(SO): $(topdir)/chardefs.h $(topdir)/tilde.h $(topdir)/rlstdc.h
796 -+
797 -+bind$(SO): $(topdir)/rlprivate.h
798 -+callback$(SO): $(topdir)/rlprivate.h
799 -+complete$(SO): $(topdir)/rlprivate.h
800 -+display$(SO): $(topdir)/rlprivate.h
801 -+input$(SO): $(topdir)/rlprivate.h
802 -+isearch$(SO): $(topdir)/rlprivate.h
803 -+kill$(SO): $(topdir)/rlprivate.h
804 -+macro$(SO): $(topdir)/rlprivate.h
805 -+mbutil$(SO): $(topdir)/rlprivate.h
806 -+misc$(SO): $(topdir)/rlprivate.h
807 -+nls$(SO): $(topdir)/rlprivate.h
808 -+parens$(SO): $(topdir)/rlprivate.h
809 -+readline$(SO): $(topdir)/rlprivate.h
810 -+rltty$(SO): $(topdir)/rlprivate.h
811 -+search$(SO): $(topdir)/rlprivate.h
812 -+signals$(SO): $(topdir)/rlprivate.h
813 -+terminal$(SO): $(topdir)/rlprivate.h
814 -+text$(SO): $(topdir)/rlprivate.h
815 -+undo$(SO): $(topdir)/rlprivate.h
816 -+util$(SO): $(topdir)/rlprivate.h
817 -+vi_mode$(SO): $(topdir)/rlprivate.h
818 -+colors$(SO): $(topdir)/rlprivate.h
819 -+parse-colors$(SO): $(topdir)/rlprivate.h
820 -+
821 -+bind$(SO): $(topdir)/xmalloc.h
822 -+callback$(SO): $(topdir)/xmalloc.h
823 -+complete$(SO): $(topdir)/xmalloc.h
824 -+display$(SO): $(topdir)/xmalloc.h
825 -+funmap$(SO): $(topdir)/xmalloc.h
826 -+histexpand$(SO): $(topdir)/xmalloc.h
827 -+histfile$(SO): $(topdir)/xmalloc.h
828 -+history$(SO): $(topdir)/xmalloc.h
829 -+input$(SO): $(topdir)/xmalloc.h
830 -+isearch$(SO): $(topdir)/xmalloc.h
831 -+keymaps$(SO): $(topdir)/xmalloc.h
832 -+kill$(SO): $(topdir)/xmalloc.h
833 -+macro$(SO): $(topdir)/xmalloc.h
834 -+mbutil$(SO): $(topdir)/xmalloc.h
835 -+misc$(SO): $(topdir)/xmalloc.h
836 -+readline$(SO): $(topdir)/xmalloc.h
837 -+savestring$(SO): $(topdir)/xmalloc.h
838 -+search$(SO): $(topdir)/xmalloc.h
839 -+shell$(SO): $(topdir)/xmalloc.h
840 -+terminal$(SO): $(topdir)/xmalloc.h
841 -+text$(SO): $(topdir)/xmalloc.h
842 -+tilde$(SO): $(topdir)/xmalloc.h
843 -+undo$(SO): $(topdir)/xmalloc.h
844 -+util$(SO): $(topdir)/xmalloc.h
845 -+vi_mode$(SO): $(topdir)/xmalloc.h
846 -+xfree$(SO): $(topdir)/xmalloc.h
847 -+xmalloc$(SO): $(topdir)/xmalloc.h
848 -+colors$(SO): $(topdir)/xmalloc.h
849 -+parse-colors$(SO): $(topdir)/xmalloc.h
850 -+
851 -+complete$(SO): $(topdir)/rlmbutil.h
852 -+display$(SO): $(topdir)/rlmbutil.h
853 -+histexpand$(SO): $(topdir)/rlmbutil.h
854 -+input$(SO): $(topdir)/rlmbutil.h
855 -+isearch$(SO): $(topdir)/rlmbutil.h
856 -+mbutil$(SO): $(topdir)/rlmbutil.h
857 -+misc$(SO): $(topdir)/rlmbutil.h
858 -+readline$(SO): $(topdir)/rlmbutil.h
859 -+search$(SO): $(topdir)/rlmbutil.h
860 -+text$(SO): $(topdir)/rlmbutil.h
861 -+vi_mode$(SO): $(topdir)/rlmbutil.h
862 -+colors$(SO): $(topdir)/rlmbutil.h
863 -+parse-colors$(SO): $(topdir)/rlmbutil.h
864 -+
865 -+bind$(SO): $(topdir)/bind.c
866 -+callback$(SO): $(topdir)/callback.c
867 -+compat$(SO): $(topdir)/compat.c
868 -+complete$(SO): $(topdir)/complete.c
869 -+display$(SO): $(topdir)/display.c
870 -+funmap$(SO): $(topdir)/funmap.c
871 -+input$(SO): $(topdir)/input.c
872 -+isearch$(SO): $(topdir)/isearch.c
873 -+keymaps$(SO): $(topdir)/keymaps.c $(topdir)/emacs_keymap.c $(topdir)/vi_keymap.c
874 -+kill$(SO): $(topdir)/kill.c
875 -+macro$(SO): $(topdir)/macro.c
876 -+mbutil$(SO): $(topdir)/mbutil.c
877 -+misc$(SO): $(topdir)/mbutil.c
878 -+nls$(SO): $(topdir)/nls.c
879 -+parens$(SO): $(topdir)/parens.c
880 -+readline$(SO): $(topdir)/readline.c
881 -+rltty$(SO): $(topdir)/rltty.c
882 -+savestring$(SO): $(topdir)/savestring.c
883 -+search$(SO): $(topdir)/search.c
884 -+shell$(SO): $(topdir)/shell.c
885 -+signals$(SO): $(topdir)/signals.c
886 -+terminal$(SO): $(topdir)/terminal.c
887 -+text$(SO): $(topdir)/text.c
888 -+tilde$(SO): $(topdir)/tilde.c
889 -+undo$(SO): $(topdir)/undo.c
890 -+util$(SO): $(topdir)/util.c
891 -+vi_mode$(SO): $(topdir)/vi_mode.c
892 -+xfree$(SO): $(topdir)/xfree.c
893 -+xmalloc$(SO): $(topdir)/xmalloc.c
894 -+
895 -+histexpand$(SO): $(topdir)/histexpand.c
896 -+histfile$(SO): $(topdir)/histfile.c
897 -+history$(SO): $(topdir)/history.c
898 -+histsearch$(SO): $(topdir)/histsearch.c
899 -+
900 -+bind$(SO): bind.c
901 -+callback$(SO): callback.c
902 -+comapt$(SO): compat.c
903 -+complete$(SO): complete.c
904 -+display$(SO): display.c
905 -+funmap$(SO): funmap.c
906 -+input$(SO): input.c
907 -+isearch$(SO): isearch.c
908 -+keymaps$(SO): keymaps.c emacs_keymap.c vi_keymap.c
909 -+kill$(SO): kill.c
910 -+macro$(SO): macro.c
911 -+mbutil$(SO): mbutil.c
912 -+misc$(SO): misc.c
913 -+nls$(SO): nls.c
914 -+parens$(SO): parens.c
915 -+readline$(SO): readline.c
916 -+rltty$(SO): rltty.c
917 -+savestring$(SO): savestring.c
918 -+search$(SO): search.c
919 -+signals$(SO): signals.c
920 -+shell$(SO): shell.c
921 -+terminal$(SO): terminal.c
922 -+text$(SO): text.c
923 -+tilde$(SO): tilde.c
924 -+undo$(SO): undo.c
925 -+util$(SO): util.c
926 -+vi_mode$(SO): vi_mode.c
927 -+xfree$(SO): xfree.c
928 -+xmalloc$(SO): xmalloc.c
929 -+
930 -+colors$(SO): colors.c
931 -+parse-colors$(SO): parse-colors.c
932 -+
933 -+histexpand$(SO): histexpand.c
934 -+histfile$(SO): histfile.c
935 -+history$(SO): history.c
936 -+histsearch$(SO): histsearch.c
937
938 diff --git a/sys-libs/readline/readline-8.0_p4.ebuild b/sys-libs/readline/readline-8.0_p4.ebuild
939 index 8b70359f32..1dca8248a0 100644
940 --- a/sys-libs/readline/readline-8.0_p4.ebuild
941 +++ b/sys-libs/readline/readline-8.0_p4.ebuild
942 @@ -3,7 +3,7 @@
943
944 EAPI=7
945
946 -inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript libtool
947 +inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript
948
949 # Official patches
950 # See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/
951 @@ -39,15 +39,9 @@ case ${PV} in
952 ;;
953 esac
954
955 -HOSTLTV="0.1.0"
956 -HOSTLT="host-libtool-${HOSTLTV}"
957 -HOSTLT_URI="https://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
958 -SRC_URI+=" ${HOSTLT_URI}"
959 -HOSTLT_S=${WORKDIR}/${HOSTLT}
960 -
961 LICENSE="GPL-3"
962 SLOT="0/8" # subslot matches SONAME major
963 -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"
964 +KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
965 IUSE="static-libs +unicode utils"
966
967 RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,unicode?,${MULTILIB_USEDEP}]"
968 @@ -64,27 +58,11 @@ PATCHES=(
969 "${FILESDIR}"/${PN}-7.0-headers.patch
970 "${FILESDIR}"/${PN}-8.0-headers.patch
971
972 - "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
973 - "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
974 - "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
975 "${FILESDIR}"/${PN}-6.0-mint.patch
976 "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
977 - "${FILESDIR}"/${PN}-6.1-aix-soname.patch
978 - "${FILESDIR}"/${PN}-6.1-aix-expfull.patch
979 - "${FILESDIR}"/${PN}-6.3-interix.patch
980 "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch
981 -
982 - "${FILESDIR}"/${PN}-7.0-libtool.patch # this enables building via libtool
983 )
984
985 -# Needed because we don't want the patches being unpacked
986 -# (which emits annoying and useless error messages)
987 -src_unpack() {
988 - unpack ${HOSTLT}.tar.gz
989 - S="${HOSTLT_S}" elibtoolize
990 - unpack ${MY_P}.tar.gz
991 -}
992 -
993 src_prepare() {
994 [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
995 default
996 @@ -107,14 +85,6 @@ src_prepare() {
997 }
998
999 src_configure() {
1000 - mkdir -p "${WORKDIR}/${HOSTLT}-${ABI}" || die
1001 - cd "${WORKDIR}/${HOSTLT}-${ABI}" || die
1002 - ECONF_SOURCE="${HOSTLT_S}" econf $(use_enable static-libs static)
1003 - cd "${BUILD_DIR}"
1004 -
1005 - export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
1006 - export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
1007 -
1008 # fix implicit decls with widechar funcs
1009 append-cppflags -D_GNU_SOURCE
1010 # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
1011 @@ -138,7 +108,6 @@ src_configure() {
1012 # This is for rlfe, but we need to make sure LDFLAGS doesn't change
1013 # so we can re-use the config cache file between the two.
1014 append-ldflags -L.
1015 - export LDFLAGS="-L${BUILD_DIR}/shlib ${LDFLAGS}" # search local dirs first
1016
1017 multilib-minimal_src_configure
1018 }
1019 @@ -147,7 +116,7 @@ multilib_src_configure() {
1020 local myeconfargs=(
1021 --cache-file="${BUILD_DIR}"/config.cache
1022 --with-curses
1023 - --disable-shared # use libtool instead
1024 + $(use_enable static-libs static)
1025 )
1026 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
1027
1028 @@ -161,9 +130,7 @@ multilib_src_configure() {
1029 }
1030
1031 multilib_src_compile() {
1032 - export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
1033 - export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
1034 - emake shared
1035 + emake
1036
1037 if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
1038 # code is full of AC_TRY_RUN()
1039 @@ -173,14 +140,12 @@ multilib_src_compile() {
1040 ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
1041 ln -s ../../lib${l}.a lib${l}.a || die
1042 done
1043 - emake LTLINK='libtool --mode=link --tag=CC'
1044 + emake
1045 fi
1046 }
1047
1048 multilib_src_install() {
1049 - export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
1050 - export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
1051 - emake DESTDIR="${D}" install-shared
1052 + default
1053
1054 if multilib_is_native_abi ; then
1055 gen_usr_ldscript -a readline history #4411
1056 @@ -196,8 +161,6 @@ multilib_src_install_all() {
1057 dodoc USAGE
1058 docinto ps
1059 dodoc doc/*.ps
1060 -
1061 - find "${D}" -name '*.la' -type f -delete || die
1062 }
1063 pkg_preinst() {
1064 # bug #29865
1065
1066 diff --git a/sys-libs/readline/readline-8.1.ebuild b/sys-libs/readline/readline-8.1.ebuild
1067 index 4a3b743d26..53aa5de3fd 100644
1068 --- a/sys-libs/readline/readline-8.1.ebuild
1069 +++ b/sys-libs/readline/readline-8.1.ebuild
1070 @@ -3,7 +3,7 @@
1071
1072 EAPI=7
1073
1074 -inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript libtool
1075 +inherit flag-o-matic multilib-minimal preserve-libs toolchain-funcs usr-ldscript
1076
1077 # Official patches
1078 # See ftp://ftp.cwru.edu/pub/bash/readline-7.0-patches/
1079 @@ -39,16 +39,10 @@ case ${PV} in
1080 ;;
1081 esac
1082
1083 -HOSTLTV="0.1.0"
1084 -HOSTLT="host-libtool-${HOSTLTV}"
1085 -HOSTLT_URI="https://github.com/haubi/host-libtool/releases/download/v${HOSTLTV}/${HOSTLT}.tar.gz"
1086 -SRC_URI+=" ${HOSTLT_URI}"
1087 -HOSTLT_S=${WORKDIR}/${HOSTLT}
1088 -
1089 LICENSE="GPL-3"
1090 SLOT="0/8" # subslot matches SONAME major
1091 [[ "${PV}" == *_rc* ]] || \
1092 -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"
1093 +KEYWORDS="~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
1094 IUSE="static-libs +unicode utils"
1095
1096 RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[static-libs?,unicode?,${MULTILIB_USEDEP}]"
1097 @@ -65,24 +59,14 @@ PATCHES=(
1098 "${FILESDIR}"/${PN}-7.0-headers.patch
1099 "${FILESDIR}"/${PN}-8.0-headers.patch
1100
1101 - "${FILESDIR}"/${PN}-5.2-rlfe-aix-eff_uid.patch
1102 - "${FILESDIR}"/${PN}-5.2-rlfe-hpux.patch
1103 - "${FILESDIR}"/${PN}-5.2-ia64hpux.patch
1104 "${FILESDIR}"/${PN}-6.0-mint.patch
1105 "${FILESDIR}"/${PN}-6.0-rlfe-solaris.patch
1106 - "${FILESDIR}"/${PN}-6.1-aix-soname.patch
1107 - "${FILESDIR}"/${PN}-6.1-aix-expfull.patch
1108 - "${FILESDIR}"/${PN}-6.3-interix.patch
1109 "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch
1110 -
1111 - "${FILESDIR}"/${PN}-7.0-libtool.patch # this enables building via libtool
1112 )
1113
1114 # Needed because we don't want the patches being unpacked
1115 # (which emits annoying and useless error messages)
1116 src_unpack() {
1117 - unpack ${HOSTLT}.tar.gz
1118 - S="${HOSTLT_S}" elibtoolize
1119 unpack ${MY_P}.tar.gz
1120 }
1121
1122 @@ -108,14 +92,6 @@ src_prepare() {
1123 }
1124
1125 src_configure() {
1126 - mkdir -p "${WORKDIR}/${HOSTLT}-${ABI}" || die
1127 - cd "${WORKDIR}/${HOSTLT}-${ABI}" || die
1128 - ECONF_SOURCE="${HOSTLT_S}" econf $(use_enable static-libs static)
1129 - cd "${BUILD_DIR}"
1130 -
1131 - export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
1132 - export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
1133 -
1134 # fix implicit decls with widechar funcs
1135 append-cppflags -D_GNU_SOURCE
1136 # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
1137 @@ -139,7 +115,6 @@ src_configure() {
1138 # This is for rlfe, but we need to make sure LDFLAGS doesn't change
1139 # so we can re-use the config cache file between the two.
1140 append-ldflags -L.
1141 - export LDFLAGS="-L${BUILD_DIR}/shlib ${LDFLAGS}" # search local dirs first
1142
1143 multilib-minimal_src_configure
1144 }
1145 @@ -148,7 +123,7 @@ multilib_src_configure() {
1146 local myeconfargs=(
1147 --cache-file="${BUILD_DIR}"/config.cache
1148 --with-curses
1149 - --disable-shared # use libtool instead
1150 + $(use_enable static-libs static)
1151 )
1152 ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
1153
1154 @@ -162,9 +137,7 @@ multilib_src_configure() {
1155 }
1156
1157 multilib_src_compile() {
1158 - export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
1159 - export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
1160 - emake shared
1161 + emake
1162
1163 if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
1164 # code is full of AC_TRY_RUN()
1165 @@ -174,14 +147,12 @@ multilib_src_compile() {
1166 ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
1167 ln -s ../../lib${l}.a lib${l}.a || die
1168 done
1169 - emake LTLINK='libtool --mode=link --tag=CC'
1170 + emake
1171 fi
1172 }
1173
1174 multilib_src_install() {
1175 - export PATH="${WORKDIR}/${HOSTLT}-${ABI}:${PATH}"
1176 - export ncurses_libs=$($(tc-getPKG_CONFIG) ncurses --libs)
1177 - emake DESTDIR="${D}" install-shared
1178 + default
1179
1180 if multilib_is_native_abi ; then
1181 gen_usr_ldscript -a readline history #4411
1182 @@ -197,8 +168,6 @@ multilib_src_install_all() {
1183 dodoc USAGE
1184 docinto ps
1185 dodoc doc/*.ps
1186 -
1187 - find "${D}" -name '*.la' -type f -delete || die
1188 }
1189 pkg_preinst() {
1190 # bug #29865