1 |
jlec 10/04/02 09:22:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tclx-8.4-r2.ebuild |
5 |
Log: |
6 |
Imported from prefix overlay, LDFALGS patch |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.41 dev-tcltk/tclx/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclx/ChangeLog?rev=1.41&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclx/ChangeLog?rev=1.41&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclx/ChangeLog?r1=1.40&r2=1.41 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tclx/ChangeLog,v |
19 |
retrieving revision 1.40 |
20 |
retrieving revision 1.41 |
21 |
diff -u -r1.40 -r1.41 |
22 |
--- ChangeLog 5 Aug 2009 20:10:09 -0000 1.40 |
23 |
+++ ChangeLog 2 Apr 2010 09:22:48 -0000 1.41 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-tcltk/tclx |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclx/ChangeLog,v 1.40 2009/08/05 20:10:09 mescalinum Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclx/ChangeLog,v 1.41 2010/04/02 09:22:48 jlec Exp $ |
30 |
+ |
31 |
+*tclx-8.4-r2 (02 Apr 2010) |
32 |
+ |
33 |
+ 02 Apr 2010; Justin Lecher <jlec@g.o> +tclx-8.4-r2.ebuild, |
34 |
+ +files/tclx-8.4-ldflags.patch: |
35 |
+ Imported from prefix overlay, ldflags respectation patch |
36 |
|
37 |
05 Aug 2009; Federico Ferri <mescalinum@g.o> tclx-8.4-r1.ebuild: |
38 |
disable tests wrt bug 279283 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-tcltk/tclx/tclx-8.4-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclx/tclx-8.4-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclx/tclx-8.4-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: tclx-8.4-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclx/tclx-8.4-r2.ebuild,v 1.1 2010/04/02 09:22:48 jlec Exp $ |
52 |
|
53 |
EAPI="3" |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="A set of extensions to TCL" |
58 |
HOMEPAGE="http://tclx.sourceforge.net" |
59 |
SRC_URI="mirror://sourceforge/tclx/${PN}${PV}.tar.bz2" |
60 |
|
61 |
LICENSE="BSD" |
62 |
IUSE="tk threads" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" |
65 |
|
66 |
DEPEND=">=dev-lang/tcl-8.4.6 |
67 |
tk? ( >=dev-lang/tk-8.4.6 )" |
68 |
|
69 |
S="${WORKDIR}"/${PN}${PV} |
70 |
|
71 |
# tests broken, bug #279283 |
72 |
RESTRICT="test" |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}"/${P}-relid.patch |
76 |
epatch "${FILESDIR}"/${P}-varinit.patch |
77 |
epatch "${FILESDIR}"/${P}-ldflags.patch |
78 |
} |
79 |
|
80 |
src_configure() { |
81 |
econf \ |
82 |
$(use_enable tk) \ |
83 |
$(use_enable threads) \ |
84 |
--enable-shared \ |
85 |
--with-tcl="${EPREFIX}/usr/lib/" \ |
86 |
|| die "econf failed" |
87 |
|
88 |
# adjust install_name on darwin |
89 |
if [[ ${CHOST} == *-darwin* ]]; then |
90 |
sed -i \ |
91 |
-e 's:^\(SHLIB_LD\W.*\)$:\1 -install_name ${pkglibdir}/$@:' \ |
92 |
"${S}"/Makefile || die 'sed failed' |
93 |
fi |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
emake DESTDIR="${D}" install || die "emake install failed" |
98 |
dodoc ChangeLog README |
99 |
doman doc/*.[n3] |
100 |
} |