Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/readline/
Date: Fri, 23 Sep 2022 02:09:33
Message-Id: 1663898938.0647dbe3e86f860ce5f529818f0d92db6d6a09d9.sam@gentoo
1 commit: 0647dbe3e86f860ce5f529818f0d92db6d6a09d9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 23 02:03:33 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 23 02:08:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0647dbe3
7
8 sys-libs/readline: drop 8.1_p1-r1, 8.2_rc3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 sys-libs/readline/Manifest | 2 -
13 sys-libs/readline/readline-8.1_p1-r1.ebuild | 199 ----------------------
14 sys-libs/readline/readline-8.2_rc3.ebuild | 246 ----------------------------
15 3 files changed, 447 deletions(-)
16
17 diff --git a/sys-libs/readline/Manifest b/sys-libs/readline/Manifest
18 index d6c13fa4f2c7..e9401bc73e6f 100644
19 --- a/sys-libs/readline/Manifest
20 +++ b/sys-libs/readline/Manifest
21 @@ -1,7 +1,5 @@
22 DIST readline-8.1.tar.gz 2993288 BLAKE2B f0feca1ea3517b2b613adacac8c997cce0e86aa2f410c82a40ce1a2e128067112b4c68dbf25b808291c28c47583345abac994ce10b8d117958afcb96ee5e7c69 SHA512 27790d0461da3093a7fee6e89a51dcab5dc61928ec42e9228ab36493b17220641d5e481ea3d8fee5ee0044c70bf960f55c7d3f1a704cf6b9c42e5c269b797e00
23 DIST readline-8.1.tar.gz.sig 95 BLAKE2B 8a297ef2ebf815ac53f02d6395aa2ff9f24234aef6b9793bfcd5a610cd3a5024182ad8ec8beb75eadd5cf876c57cd56d4226075578a86e0e2421d2e9b1677aa5 SHA512 42a6052d5882f16e5b6f8cd16433d793a9cbb43cf1886b2d858dc65ce067a4c39c8dda7331e52f76426c43de02c358f9ffdaf5c8fd7b089479008c1e5aa19112
24 -DIST readline-8.2-rc3.tar.gz 3043957 BLAKE2B 49d68306f84add2f4e07a151c417aae9829761d0c94aaab5c2ec4dde49bcfdbd8c43907a5f5a00366850309c30a725f2628641e7105257108569efbc70420588 SHA512 136a04e070457b7152325951cd9e414d5598bcc28e41d31f6651d21b584a08282bab7c0e07edf786ef6855a6cdc346ab55ee670d06de7fdda7847a1c9b551e03
25 -DIST readline-8.2-rc3.tar.gz.sig 95 BLAKE2B 4af655b0a4d3faf5f9be011459f56737f48204d7d6757cd8571f5a3cfd7bc1e820def8fb7227b5431d19660a48713e5a04c95d8f5ea43439483f3ce858cb1d77 SHA512 06aec40b24f67eff72dc53b902b6f1c5df926a56b4d67df530b6243200d261747d3d2112b16ff83f921376437cfd941b8ddbe157babf9302ce60ff54a022e65d
26 DIST readline-8.2-rc4.tar.gz 3044180 BLAKE2B 5338abf9ab2548f81d90017edef206cc887a5ec67e528c56ebdd2cd9b2032a2e039b1f563dbd074c0df9b071fde1dbd0d0b5e5f35ccd3eb138d9ed9b276dac03 SHA512 29df7bfd81ca7899bf515428f1e7aac2df50bafa701c9c1bfdbf2c6934b4fa712de0e8d1ddb55f398db412e03ab8a4b17a5a270acaab2f1087026998ca97c190
27 DIST readline-8.2-rc4.tar.gz.sig 95 BLAKE2B d077365719b6cc44d2b9030697e64dce445b3583f812e981d86bb3bf0baf0d5e207a52191d16916533ed022be84f06c2b3b36bc3aa91389e7a3205ef596c4e1b SHA512 f1b8eeb0957a8bf64e7a1fbaa50267d5e37bdc88cb22e56b6f89a23d3871d6e5eb5f17888a8e0bb7bccf850f95b07bf06708617945fd24a98b213ce7de5b2a72
28 DIST readline81-001 2454 BLAKE2B 7ec4e5c39a224a70643b44b88bcfef5198e199c76f2a34f0b0ce24f1747dd46be49ddf93871c474cda64322b4358127fec4c2401d19422f84934546bbe1f3bf2 SHA512 cfbef10bdeb562a302ccf214878d02ebadf799343b3d2d7996a282f81bcfde83997ba6dcc9a8477af4dd7c73bca74105ca00a81e42ed13321672bd2930550e54
29
30 diff --git a/sys-libs/readline/readline-8.1_p1-r1.ebuild b/sys-libs/readline/readline-8.1_p1-r1.ebuild
31 deleted file mode 100644
32 index 36d25d6c4aad..000000000000
33 --- a/sys-libs/readline/readline-8.1_p1-r1.ebuild
34 +++ /dev/null
35 @@ -1,199 +0,0 @@
36 -# Copyright 1999-2021 Gentoo Authors
37 -# Distributed under the terms of the GNU General Public License v2
38 -
39 -EAPI=7
40 -
41 -inherit flag-o-matic multilib multilib-minimal preserve-libs toolchain-funcs usr-ldscript
42 -
43 -# Official patches
44 -# See ftp://ftp.cwru.edu/pub/bash/readline-8.1-patches/
45 -PLEVEL="${PV##*_p}"
46 -MY_PV="${PV/_p*}"
47 -MY_PV="${MY_PV/_/-}"
48 -MY_P="${PN}-${MY_PV}"
49 -[[ ${PV} != *_p* ]] && PLEVEL=0
50 -patches() {
51 - [[ ${PLEVEL} -eq 0 ]] && return 1
52 - local opt=$1
53 - eval set -- {1..${PLEVEL}}
54 - set -- $(printf "${PN}${MY_PV/\.}-%03d " "$@")
55 - if [[ ${opt} == -s ]] ; then
56 - echo "${@/#/${DISTDIR}/}"
57 - else
58 - local u
59 - for u in ftp://ftp.cwru.edu/pub/bash mirror://gnu/${PN} ; do
60 - printf "${u}/${PN}-${MY_PV}-patches/%s " "$@"
61 - done
62 - fi
63 -}
64 -
65 -DESCRIPTION="Another cute console display library"
66 -HOMEPAGE="https://tiswww.case.edu/php/chet/readline/rltop.html"
67 -
68 -case ${PV} in
69 - *_alpha*|*_beta*|*_rc*)
70 - SRC_URI+=" ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
71 - ;;
72 - *)
73 - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz $(patches)"
74 - ;;
75 -esac
76 -
77 -LICENSE="GPL-3"
78 -SLOT="0/8" # subslot matches SONAME major
79 -[[ "${PV}" == *_rc* ]] || \
80 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
81 -IUSE="static-libs +unicode utils"
82 -
83 -RDEPEND=">=sys-libs/ncurses-5.9-r3:=[static-libs?,unicode(+)?,${MULTILIB_USEDEP}]"
84 -DEPEND="${RDEPEND}"
85 -BDEPEND="virtual/pkgconfig"
86 -
87 -S="${WORKDIR}/${MY_P}"
88 -
89 -PATCHES=(
90 - "${FILESDIR}"/${PN}-5.0-no_rpath.patch
91 - "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch #385091
92 - "${FILESDIR}"/${PN}-7.0-headers.patch
93 - "${FILESDIR}"/${PN}-8.0-headers.patch
94 - "${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch
95 - "${FILESDIR}"/${PN}-8.1-windows-signals.patch
96 -)
97 -
98 -# Needed because we don't want the patches being unpacked
99 -# (which emits annoying and useless error messages)
100 -src_unpack() {
101 - unpack ${MY_P}.tar.gz
102 -}
103 -
104 -src_prepare() {
105 - [[ ${PLEVEL} -gt 0 ]] && eapply -p0 $(patches -s)
106 - default
107 -
108 - if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
109 - # If we're bootstrapping, make a guess. We don't have pkg-config
110 - # around yet. bug #818103.
111 - # Incorrectly populating this leads to underlinked libreadline.
112 - local ncurses_libs
113 - local ncurses_libs_suffix=$(usex unicode w '')
114 -
115 - ncurses_libs="-lncurses${ncurses_libs_suffix}"
116 -
117 - if has_version "sys-libs/ncurses[tinfo(+)]" ; then
118 - ncurses_libs+=" -ltinfo${ncurses_libs_suffix}"
119 - fi
120 - else
121 - # Force ncurses linking. #71420
122 - # Use pkg-config to get the right values. #457558
123 - local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses$(usex unicode w '') --libs)
124 - fi
125 -
126 - sed -i \
127 - -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
128 - support/shobj-conf || die
129 - sed -i \
130 - -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
131 - examples/rlfe/configure || die
132 -
133 - # fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
134 - # objformat for years, so we don't want to rely on that.
135 - sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
136 -
137 - ln -s ../.. examples/rlfe/readline || die # for local readline headers
138 -}
139 -
140 -src_configure() {
141 - # fix implicit decls with widechar funcs
142 - append-cppflags -D_GNU_SOURCE
143 - # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
144 - append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
145 -
146 - # Make sure configure picks a better ar than `ar`. #484866
147 - export ac_cv_prog_AR=$(tc-getAR)
148 -
149 - # Force the test since we used sed above to force it.
150 - export bash_cv_termcap_lib=ncurses
151 -
152 - # Control cross-compiling cases when we know the right answer.
153 - # In cases where the C library doesn't support wide characters, readline
154 - # itself won't work correctly, so forcing the answer below should be OK.
155 - if tc-is-cross-compiler ; then
156 - use kernel_Winnt || export bash_cv_func_sigsetjmp='present'
157 - export bash_cv_func_ctype_nonascii='yes'
158 - export bash_cv_wcwidth_broken='no' #503312
159 - fi
160 -
161 - # This is for rlfe, but we need to make sure LDFLAGS doesn't change
162 - # so we can re-use the config cache file between the two.
163 - append-ldflags -L.
164 -
165 - multilib-minimal_src_configure
166 -}
167 -
168 -multilib_src_configure() {
169 - local myeconfargs=(
170 - --cache-file="${BUILD_DIR}"/config.cache
171 - --with-curses
172 - $(use_enable static-libs static)
173 - )
174 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
175 -
176 - if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
177 - # code is full of AC_TRY_RUN()
178 - mkdir -p examples/rlfe || die
179 - cd examples/rlfe || die
180 - ECONF_SOURCE="${S}"/examples/rlfe \
181 - econf --cache-file="${BUILD_DIR}"/config.cache
182 - fi
183 -}
184 -
185 -multilib_src_compile() {
186 - emake
187 -
188 - if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
189 - # code is full of AC_TRY_RUN()
190 - cd examples/rlfe || die
191 - local l
192 - for l in readline history ; do
193 - ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
194 - ln -s ../../lib${l}.a lib${l}.a || die
195 - done
196 - emake
197 - fi
198 -}
199 -
200 -multilib_src_install() {
201 - default
202 -
203 - if multilib_is_native_abi ; then
204 - gen_usr_ldscript -a readline history #4411
205 -
206 - if use utils && ! tc-is-cross-compiler; then
207 - dobin examples/rlfe/rlfe
208 - fi
209 - fi
210 -}
211 -
212 -multilib_src_install_all() {
213 - HTML_DOCS="doc/history.html doc/readline.html doc/rluserman.html" einstalldocs
214 - dodoc USAGE
215 - docinto ps
216 - dodoc doc/*.ps
217 -}
218 -pkg_preinst() {
219 - # bug #29865
220 - # Reappeared in #595324 with paludis so keeping this for now...
221 - preserve_old_lib \
222 - /$(get_libdir)/lib{history,readline}$(get_libname 4) \
223 - /$(get_libdir)/lib{history,readline}$(get_libname 5) \
224 - /$(get_libdir)/lib{history,readline}$(get_libname 6) \
225 - /$(get_libdir)/lib{history,readline}$(get_libname 7)
226 -}
227 -
228 -pkg_postinst() {
229 - preserve_old_lib_notify \
230 - /$(get_libdir)/lib{history,readline}$(get_libname 4) \
231 - /$(get_libdir)/lib{history,readline}$(get_libname 5) \
232 - /$(get_libdir)/lib{history,readline}$(get_libname 6) \
233 - /$(get_libdir)/lib{history,readline}$(get_libname 7)
234 -}
235
236 diff --git a/sys-libs/readline/readline-8.2_rc3.ebuild b/sys-libs/readline/readline-8.2_rc3.ebuild
237 deleted file mode 100644
238 index 4bc9fb0d90a8..000000000000
239 --- a/sys-libs/readline/readline-8.2_rc3.ebuild
240 +++ /dev/null
241 @@ -1,246 +0,0 @@
242 -# Copyright 1999-2022 Gentoo Authors
243 -# Distributed under the terms of the GNU General Public License v2
244 -
245 -EAPI=7
246 -
247 -# There's no standard way of versioning the point releases upstream
248 -# make anyway, so while this was added for RC versions, it's fine
249 -# in general.
250 -QA_PKGCONFIG_VERSION=$(ver_cut 1-2)
251 -VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/chetramey.asc
252 -inherit flag-o-matic multilib multilib-minimal preserve-libs toolchain-funcs usr-ldscript verify-sig
253 -
254 -# Official patches
255 -# See ftp://ftp.cwru.edu/pub/bash/readline-8.1-patches/
256 -PLEVEL="${PV##*_p}"
257 -MY_PV="${PV/_p*}"
258 -MY_PV="${MY_PV/_/-}"
259 -MY_P="${PN}-${MY_PV}"
260 -MY_PATCHES=()
261 -
262 -is_release() {
263 - case ${PV} in
264 - 9999|*_alpha*|*_beta*|*_rc*)
265 - return 1
266 - ;;
267 - *)
268 - return 0
269 - ;;
270 - esac
271 -}
272 -
273 -[[ ${PV} != *_p* ]] && PLEVEL=0
274 -
275 -DESCRIPTION="Another cute console display library"
276 -HOMEPAGE="https://tiswww.case.edu/php/chet/readline/rltop.html https://git.savannah.gnu.org/cgit/readline.git"
277 -
278 -if [[ ${PV} == 9999 ]] ; then
279 - EGIT_REPO_URI="https://git.savannah.gnu.org/git/readline.git"
280 - EGIT_BRANCH=devel
281 - inherit git-r3
282 -elif is_release ; then
283 - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
284 - SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${MY_P}.tar.gz.sig )"
285 -
286 - if [[ ${PLEVEL} -gt 0 ]] ; then
287 - # bash-5.1 -> bash51
288 - my_p=${PN}$(ver_rs 1-2 '' $(ver_cut 1-2))
289 -
290 - patch_url=
291 - my_patch_index=
292 -
293 - for ((my_patch_index=1; my_patch_index <= ${PLEVEL} ; my_patch_index++)) ; do
294 - for url in mirror://gnu/${pn} ftp://ftp.cwru.edu/pub/bash ; do
295 - patch_url=$(printf "${url}/${PN}-$(ver_cut 1-2)-patches/${my_p}-%03d" ${my_patch_index})
296 - SRC_URI+=" ${patch_url}"
297 - SRC_URI+=" verify-sig? ( ${patch_url}.sig )"
298 - done
299 -
300 - MY_PATCHES+=( "${DISTDIR}"/$(printf ${my_p}-%03d ${my_patch_index}) )
301 - done
302 -
303 - unset my_pn patch_url my_patch_index
304 - fi
305 -else
306 - SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz"
307 - SRC_URI+=" verify-sig? ( mirror://gnu/${PN}/${MY_P}.tar.gz.sig ftp://ftp.cwru.edu/pub/bash/${MY_P}.tar.gz.sig )"
308 -fi
309 -
310 -if ! is_release ; then
311 - inherit autotools
312 -fi
313 -
314 -LICENSE="GPL-3"
315 -SLOT="0/8" # subslot matches SONAME major
316 -if is_release ; then
317 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
318 -fi
319 -IUSE="static-libs +unicode utils"
320 -
321 -RDEPEND=">=sys-libs/ncurses-5.9-r3:=[static-libs?,unicode(+)?,${MULTILIB_USEDEP}]"
322 -DEPEND="${RDEPEND}"
323 -BDEPEND="virtual/pkgconfig
324 - verify-sig? ( sec-keys/openpgp-keys-chetramey )"
325 -
326 -S="${WORKDIR}/${MY_P}"
327 -
328 -PATCHES=(
329 - "${FILESDIR}"/${PN}-5.0-no_rpath.patch
330 - "${FILESDIR}"/${PN}-6.2-rlfe-tgoto.patch # bug #385091
331 - "${FILESDIR}"/${PN}-7.0-headers.patch
332 - "${FILESDIR}"/${PN}-8.0-headers.patch
333 -
334 - # TODO: rebase
335 - #"${FILESDIR}"/${PN}-8.0-darwin-shlib-versioning.patch
336 -)
337 -
338 -src_unpack() {
339 - if [[ ${PV} == 9999 ]] ; then
340 - git-r3_src_unpack
341 - else
342 - # Needed because we don't want the patches being unpacked
343 - # (which emits annoying and useless error messages)
344 - verify-sig_src_unpack
345 - unpack ${MY_P}.tar.gz
346 - fi
347 -}
348 -
349 -src_prepare() {
350 - [[ ${PLEVEL} -gt 0 ]] && eapply -p0 "${MY_PATCHES[@]}"
351 -
352 - default
353 -
354 - is_release || eautoreconf
355 -
356 - if use prefix && [[ ! -x "${BROOT}"/usr/bin/pkg-config ]] ; then
357 - # If we're bootstrapping, make a guess. We don't have pkg-config
358 - # around yet. bug #818103.
359 - # Incorrectly populating this leads to underlinked libreadline.
360 - local ncurses_libs
361 - local ncurses_libs_suffix=$(usex unicode w '')
362 -
363 - ncurses_libs="-lncurses${ncurses_libs_suffix}"
364 -
365 - if has_version "sys-libs/ncurses[tinfo(+)]" ; then
366 - ncurses_libs+=" -ltinfo${ncurses_libs_suffix}"
367 - fi
368 - else
369 - # Force ncurses linking, bug #71420.
370 - # Use pkg-config to get the right values, bug #457558.
371 - local ncurses_libs=$($(tc-getPKG_CONFIG) ncurses$(usex unicode w '') --libs)
372 - fi
373 -
374 - sed -i \
375 - -e "/^SHLIB_LIBS=/s:=.*:='${ncurses_libs}':" \
376 - support/shobj-conf || die
377 - sed -i \
378 - -e "/^[[:space:]]*LIBS=.-lncurses/s:-lncurses:${ncurses_libs}:" \
379 - examples/rlfe/configure || die
380 -
381 - # Fix building under Gentoo/FreeBSD; upstream FreeBSD deprecated
382 - # objformat for years, so we don't want to rely on that.
383 - sed -i -e '/objformat/s:if .*; then:if true; then:' support/shobj-conf || die
384 -
385 - # For local readline headers
386 - ln -s ../.. examples/rlfe/readline || die
387 -}
388 -
389 -src_configure() {
390 - # Fix implicit decls with widechar funcs
391 - append-cppflags -D_GNU_SOURCE
392 - # https://lists.gnu.org/archive/html/bug-readline/2010-07/msg00013.html
393 - append-cppflags -Dxrealloc=_rl_realloc -Dxmalloc=_rl_malloc -Dxfree=_rl_free
394 -
395 - # Make sure configure picks a better ar than `ar`, bug #484866
396 - export ac_cv_prog_AR="$(tc-getAR)"
397 -
398 - # Force the test since we used sed above to force it.
399 - export bash_cv_termcap_lib=ncurses
400 -
401 - # Control cross-compiling cases when we know the right answer.
402 - # In cases where the C library doesn't support wide characters, readline
403 - # itself won't work correctly, so forcing the answer below should be OK.
404 - if tc-is-cross-compiler ; then
405 - use kernel_Winnt || export bash_cv_func_sigsetjmp="present"
406 - export bash_cv_func_ctype_nonascii="yes"
407 - # bug #503312
408 - export bash_cv_wcwidth_broken="no"
409 - fi
410 -
411 - # This is for rlfe, but we need to make sure LDFLAGS doesn't change
412 - # so we can re-use the config cache file between the two.
413 - append-ldflags -L.
414 -
415 - multilib-minimal_src_configure
416 -}
417 -
418 -multilib_src_configure() {
419 - local myeconfargs=(
420 - --cache-file="${BUILD_DIR}"/config.cache
421 - --with-curses
422 - $(use_enable static-libs static)
423 - )
424 -
425 - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
426 -
427 - if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
428 - # Code is full of AC_TRY_RUN()
429 - mkdir -p examples/rlfe || die
430 - cd examples/rlfe || die
431 -
432 - ECONF_SOURCE="${S}"/examples/rlfe econf --cache-file="${BUILD_DIR}"/config.cache
433 - fi
434 -}
435 -
436 -multilib_src_compile() {
437 - emake
438 -
439 - if use utils && multilib_is_native_abi && ! tc-is-cross-compiler ; then
440 - # Code is full of AC_TRY_RUN()
441 - cd examples/rlfe || die
442 - local l
443 - for l in readline history ; do
444 - ln -s ../../shlib/lib${l}$(get_libname)* lib${l}$(get_libname) || die
445 - ln -s ../../lib${l}.a lib${l}.a || die
446 - done
447 - emake
448 - fi
449 -}
450 -
451 -multilib_src_install() {
452 - default
453 -
454 - if multilib_is_native_abi ; then
455 - # bug #4411
456 - gen_usr_ldscript -a readline history
457 -
458 - if use utils && ! tc-is-cross-compiler; then
459 - dobin examples/rlfe/rlfe
460 - fi
461 - fi
462 -}
463 -
464 -multilib_src_install_all() {
465 - HTML_DOCS="doc/history.html doc/readline.html doc/rluserman.html" einstalldocs
466 -
467 - dodoc USAGE
468 - docinto ps
469 - dodoc doc/*.ps
470 -}
471 -pkg_preinst() {
472 - # bug #29865
473 - # Reappeared in bug #595324 with paludis so keeping this for now...
474 - preserve_old_lib \
475 - /$(get_libdir)/lib{history,readline}$(get_libname 4) \
476 - /$(get_libdir)/lib{history,readline}$(get_libname 5) \
477 - /$(get_libdir)/lib{history,readline}$(get_libname 6) \
478 - /$(get_libdir)/lib{history,readline}$(get_libname 7)
479 -}
480 -
481 -pkg_postinst() {
482 - preserve_old_lib_notify \
483 - /$(get_libdir)/lib{history,readline}$(get_libname 4) \
484 - /$(get_libdir)/lib{history,readline}$(get_libname 5) \
485 - /$(get_libdir)/lib{history,readline}$(get_libname 6) \
486 - /$(get_libdir)/lib{history,readline}$(get_libname 7)
487 -}