1 |
vapier 08/11/23 18:24:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: readline-5.2_p13.ebuild |
5 |
Log: |
6 |
Version bump #247646 by Lars (Polynomial-C). |
7 |
(Portage version: 2.2_rc14/cvs/Linux 2.6.27.4 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.117 sys-libs/readline/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?rev=1.117&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?rev=1.117&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/ChangeLog?r1=1.116&r2=1.117 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v |
19 |
retrieving revision 1.116 |
20 |
retrieving revision 1.117 |
21 |
diff -u -r1.116 -r1.117 |
22 |
--- ChangeLog 8 Apr 2008 21:43:06 -0000 1.116 |
23 |
+++ ChangeLog 23 Nov 2008 18:24:10 -0000 1.117 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sys-libs/readline |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.116 2008/04/08 21:43:06 vapier Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/ChangeLog,v 1.117 2008/11/23 18:24:10 vapier Exp $ |
29 |
+ |
30 |
+*readline-5.2_p13 (23 Nov 2008) |
31 |
+ |
32 |
+ 23 Nov 2008; Mike Frysinger <vapier@g.o> +readline-5.2_p13.ebuild: |
33 |
+ Version bump #247646 by Lars (Polynomial-C). |
34 |
|
35 |
08 Apr 2008; Mike Frysinger <vapier@g.o> |
36 |
+files/readline-5.2-no-ignore-shlib-errors.patch, |
37 |
|
38 |
|
39 |
|
40 |
1.1 sys-libs/readline/readline-5.2_p13.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-5.2_p13.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/readline/readline-5.2_p13.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: readline-5.2_p13.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/readline/readline-5.2_p13.ebuild,v 1.1 2008/11/23 18:24:10 vapier Exp $ |
50 |
|
51 |
inherit eutils multilib toolchain-funcs flag-o-matic |
52 |
|
53 |
# Official patches |
54 |
# See ftp://ftp.cwru.edu/pub/bash/readline-5.1-patches/ |
55 |
PLEVEL=${PV##*_p} |
56 |
MY_PV=${PV/_p*} |
57 |
MY_P=${PN}-${MY_PV} |
58 |
|
59 |
DESCRIPTION="Another cute console display library" |
60 |
HOMEPAGE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
61 |
SRC_URI="mirror://gnu/readline/${MY_P}.tar.gz |
62 |
$(for ((i=1; i<=PLEVEL; i++)); do |
63 |
printf 'ftp://ftp.cwru.edu/pub/bash/readline-%s-patches/readline%s-%03d\n' \ |
64 |
${MY_PV} ${MY_PV/\.} ${i} |
65 |
printf 'mirror://gnu/bash/readline-%s-patches/readline%s-%03d\n' \ |
66 |
${MY_PV} ${MY_PV/\.} ${i} |
67 |
done)" |
68 |
|
69 |
LICENSE="GPL-2" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
72 |
IUSE="" |
73 |
|
74 |
# We must be certain that we have a bash that is linked |
75 |
# to its internal readline, else we may get problems. |
76 |
RDEPEND=">=sys-libs/ncurses-5.2-r2" |
77 |
DEPEND="${RDEPEND} |
78 |
>=app-shells/bash-2.05b-r2" |
79 |
|
80 |
S=${WORKDIR}/${MY_P} |
81 |
|
82 |
src_unpack() { |
83 |
unpack ${MY_P}.tar.gz |
84 |
|
85 |
cd "${S}" |
86 |
# Official patches |
87 |
local i |
88 |
for ((i=1; i<=PLEVEL; i++)); do |
89 |
epatch "${DISTDIR}"/${PN}${MY_PV/\.}-$(printf '%03d' ${i}) |
90 |
done |
91 |
epatch "${FILESDIR}"/${PN}-5.0-no_rpath.patch |
92 |
epatch "${FILESDIR}"/${PN}-5.2-rlfe-build.patch #151174 |
93 |
epatch "${FILESDIR}"/${PN}-5.1-rlfe-uclibc.patch |
94 |
epatch "${FILESDIR}"/${PN}-5.2-no-ignore-shlib-errors.patch #216952 |
95 |
|
96 |
ln -s ../.. examples/rlfe/readline |
97 |
|
98 |
# force ncurses linking #71420 |
99 |
sed -i -e 's:^SHLIB_LIBS=:SHLIB_LIBS=-lncurses:' support/shobj-conf || die "sed" |
100 |
} |
101 |
|
102 |
src_compile() { |
103 |
append-flags -D_GNU_SOURCE |
104 |
|
105 |
# the --libdir= is needed because if lib64 is a directory, it will default |
106 |
# to using that... even if CONF_LIBDIR isnt set or we're using a version |
107 |
# of portage without CONF_LIBDIR support. |
108 |
econf --with-curses --libdir=/usr/$(get_libdir) || die |
109 |
emake || die |
110 |
|
111 |
if ! tc-is-cross-compiler ; then |
112 |
cd examples/rlfe |
113 |
econf || die |
114 |
emake || die "make rlfe failed" |
115 |
fi |
116 |
} |
117 |
|
118 |
src_install() { |
119 |
emake DESTDIR="${D}" install || die |
120 |
dodir /$(get_libdir) |
121 |
|
122 |
mv "${D}"/usr/$(get_libdir)/*.so* "${D}"/$(get_libdir) |
123 |
chmod a+rx "${D}"/$(get_libdir)/*.so* |
124 |
|
125 |
# Bug #4411 |
126 |
gen_usr_ldscript libreadline.so |
127 |
gen_usr_ldscript libhistory.so |
128 |
|
129 |
if ! tc-is-cross-compiler; then |
130 |
dobin examples/rlfe/rlfe || die |
131 |
fi |
132 |
|
133 |
dodoc CHANGELOG CHANGES README USAGE NEWS |
134 |
docinto ps |
135 |
dodoc doc/*.ps |
136 |
dohtml -r doc |
137 |
} |
138 |
|
139 |
pkg_preinst() { |
140 |
preserve_old_lib /$(get_libdir)/lib{history,readline}.so.4 #29865 |
141 |
} |
142 |
|
143 |
pkg_postinst() { |
144 |
preserve_old_lib_notify /$(get_libdir)/lib{history,readline}.so.4 |
145 |
} |