Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tcltk/tclreadline: ChangeLog tclreadline-2.1.0-r4.ebuild
Date: Sat, 23 Nov 2013 08:38:30
Message-Id: 20131123083825.064352004E@flycatcher.gentoo.org
1 jlec 13/11/23 08:38:24
2
3 Modified: ChangeLog
4 Added: tclreadline-2.1.0-r4.ebuild
5 Log:
6 dev-tcltk/tclreadline: Add multiple fixes imported from debian and kindly provided by Quentin Minster, #440648
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.26 dev-tcltk/tclreadline/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tclreadline/ChangeLog?rev=1.26&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tclreadline/ChangeLog?rev=1.26&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tclreadline/ChangeLog?r1=1.25&r2=1.26
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tclreadline/ChangeLog,v
20 retrieving revision 1.25
21 retrieving revision 1.26
22 diff -u -r1.25 -r1.26
23 --- ChangeLog 17 Nov 2013 09:31:58 -0000 1.25
24 +++ ChangeLog 23 Nov 2013 08:38:24 -0000 1.26
25 @@ -1,6 +1,17 @@
26 # ChangeLog for dev-tcltk/tclreadline
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclreadline/ChangeLog,v 1.25 2013/11/17 09:31:58 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclreadline/ChangeLog,v 1.26 2013/11/23 08:38:24 jlec Exp $
30 +
31 +*tclreadline-2.1.0-r4 (23 Nov 2013)
32 +
33 + 23 Nov 2013; Justin Lecher <jlec@g.o> +tclreadline-2.1.0-r4.ebuild,
34 + +files/tclreadline-2.1.0-alloc-free.patch,
35 + files/tclreadline-2.1.0-gold.patch,
36 + +files/tclreadline-2.1.0-rl-executing-macro.patch,
37 + +files/tclreadline-2.1.0-rl-history-expand.patch,
38 + +files/tclreadline-2.1.0-rl-prompt.patch:
39 + Add multiple fixes imported from debian and kindly provided by Quentin
40 + Minster, #440648
41
42 *tclreadline-2.1.0-r3 (17 Nov 2013)
43
44
45
46
47 1.1 dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild?rev=1.1&content-type=text/plain
51
52 Index: tclreadline-2.1.0-r4.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclreadline/tclreadline-2.1.0-r4.ebuild,v 1.1 2013/11/23 08:38:24 jlec Exp $
57
58 EAPI=5
59
60 AUTOTOOLS_AUTORECONF=true
61
62 inherit autotools-utils multilib toolchain-funcs
63
64 DEBIAN_PATCH=12
65
66 DESCRIPTION="Readline extension to TCL"
67 HOMEPAGE="http://tclreadline.sf.net/"
68 SRC_URI="
69 mirror://sourceforge/${PN}/${P}.tar.gz
70 mirror://debian/pool/main/t/${PN}/${PN}_${PV}-${DEBIAN_PATCH}.debian.tar.gz"
71
72 SLOT="0"
73 LICENSE="BSD"
74 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
75 IUSE="static-libs"
76
77 DEPEND="
78 dev-lang/tcl
79 sys-libs/readline"
80 RDEPEND="${DEPEND}"
81
82 PATCHES=(
83 "${FILESDIR}"/${P}-gold.patch
84 "${FILESDIR}"/${P}-alloc-free.patch
85 "${FILESDIR}"/${P}-rl-executing-macro.patch
86 "${FILESDIR}"/${P}-rl-history-expand.patch
87 "${FILESDIR}"/${P}-rl-prompt.patch
88 "${WORKDIR}"/debian/patches/complete_nontcl.patch
89 "${WORKDIR}"/debian/patches/completion_matches.patch
90 "${WORKDIR}"/debian/patches/completion_pbug.patch
91 "${WORKDIR}"/debian/patches/kfreebsd.patch
92 "${WORKDIR}"/debian/patches/link.patch
93 "${WORKDIR}"/debian/patches/manpage.patch
94 "${WORKDIR}"/debian/patches/memuse.patch
95 # "${WORKDIR}"/debian/patches/tclrldir.patch
96 "${WORKDIR}"/debian/patches/tclshpath.patch
97 "${WORKDIR}"/debian/patches/tinfo.patch
98 "${WORKDIR}"/debian/patches/varnames.patch
99
100 )
101
102 src_prepare() {
103 sed \
104 -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" \
105 -e "/^TCLRL_LIBDIR/s:lib:$(get_libdir):g" \
106 -i configure.in || die
107 mv configure.{in,ac} || die
108 sed \
109 -e 's:configure.in:configure.ac:g' \
110 -i "${WORKDIR}"/debian/patches/* || die
111 autotools-utils_src_prepare
112 }
113
114 src_configure() {
115 local myeconfargs=(
116 --with-tcl="${EPREFIX}/usr/$(get_libdir)"
117 --with-tcl-includes="${EPREFIX}/usr/include"
118 --with-readline-includes="${EPREFIX}/usr/include"
119 --with-readline-library="-lreadline"
120 )
121 autotools-utils_src_configure
122 }