1 |
jlec 12/11/29 14:01:36 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tcl-8.5.13.ebuild |
5 |
Removed: tcl-8.5.8-r2.ebuild tcl-8.5.9.ebuild |
6 |
tcl-8.5.7.ebuild tcl-8.5.8-r1.ebuild |
7 |
tcl-8.5.11.ebuild tcl-8.4.18.ebuild |
8 |
Log: |
9 |
dev-lang/tcl: Version Bump, #444296; Cleaned old |
10 |
|
11 |
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 70EB7916) |
12 |
|
13 |
Revision Changes Path |
14 |
1.159 dev-lang/tcl/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/tcl/ChangeLog?rev=1.159&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/tcl/ChangeLog?rev=1.159&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/tcl/ChangeLog?r1=1.158&r2=1.159 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v |
23 |
retrieving revision 1.158 |
24 |
retrieving revision 1.159 |
25 |
diff -u -r1.158 -r1.159 |
26 |
--- ChangeLog 7 Jun 2012 16:36:40 -0000 1.158 |
27 |
+++ ChangeLog 29 Nov 2012 14:01:36 -0000 1.159 |
28 |
@@ -1,6 +1,15 @@ |
29 |
# ChangeLog for dev-lang/tcl |
30 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.158 2012/06/07 16:36:40 jlec Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.159 2012/11/29 14:01:36 jlec Exp $ |
33 |
+ |
34 |
+*tcl-8.5.13 (29 Nov 2012) |
35 |
+ |
36 |
+ 29 Nov 2012; Justin Lecher <jlec@g.o> |
37 |
+ -files/tcl-8.4.11-multilib.patch, -tcl-8.4.18.ebuild, -tcl-8.5.7.ebuild, |
38 |
+ -tcl-8.5.8-r1.ebuild, -tcl-8.5.8-r2.ebuild, -files/tcl-8.5.8-fortify.patch, |
39 |
+ -tcl-8.5.9.ebuild, +files/tcl-8.5.10-conf.patch, -tcl-8.5.11.ebuild, |
40 |
+ +tcl-8.5.13.ebuild, +files/tcl-8.5.13-autopath.patch: |
41 |
+ Version Bump, #444296; Cleaned old |
42 |
|
43 |
*tcl-8.5.11-r1 (07 Jun 2012) |
44 |
|
45 |
|
46 |
|
47 |
|
48 |
1.1 dev-lang/tcl/tcl-8.5.13.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/tcl/tcl-8.5.13.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/tcl/tcl-8.5.13.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: tcl-8.5.13.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2012 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.13.ebuild,v 1.1 2012/11/29 14:01:36 jlec Exp $ |
58 |
|
59 |
EAPI=4 |
60 |
|
61 |
inherit versionator autotools eutils flag-o-matic multilib toolchain-funcs |
62 |
|
63 |
MY_P="${PN}${PV/_beta/b}" |
64 |
|
65 |
DESCRIPTION="Tool Command Language" |
66 |
HOMEPAGE="http://www.tcl.tk/" |
67 |
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" |
68 |
|
69 |
LICENSE="BSD" |
70 |
SLOT="0" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x86-solaris" |
72 |
IUSE="debug threads" |
73 |
|
74 |
S="${WORKDIR}/${MY_P}" |
75 |
|
76 |
pkg_setup() { |
77 |
if use threads ; then |
78 |
echo |
79 |
ewarn "PLEASE NOTE: You are compiling ${P} with" |
80 |
ewarn "threading enabled." |
81 |
ewarn "Threading is not supported by all applications" |
82 |
ewarn "that compile against tcl. You use threading at" |
83 |
ewarn "your own discretion." |
84 |
echo |
85 |
fi |
86 |
} |
87 |
|
88 |
src_prepare() { |
89 |
epatch "${FILESDIR}"/${PN}-8.5_alpha6-multilib.patch |
90 |
|
91 |
# Bug 125971 |
92 |
epatch "${FILESDIR}"/${PN}-8.5.10-conf.patch |
93 |
|
94 |
# Bug 354067 |
95 |
epatch "${FILESDIR}"/${PN}-8.5.9-gentoo-fbsd.patch |
96 |
|
97 |
epatch "${FILESDIR}"/${P}-autopath.patch |
98 |
|
99 |
cd "${S}"/unix |
100 |
eautoreconf |
101 |
} |
102 |
|
103 |
src_configure() { |
104 |
# workaround stack check issues, bug #280934 |
105 |
if use hppa; then |
106 |
append-cflags "-DTCL_NO_STACK_CHECK=1" |
107 |
fi |
108 |
|
109 |
tc-export CC |
110 |
|
111 |
cd "${S}"/unix |
112 |
econf \ |
113 |
$(use_enable threads) \ |
114 |
$(use_enable debug symbols) |
115 |
} |
116 |
|
117 |
src_compile() { |
118 |
cd "${S}"/unix && emake |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
#short version number |
123 |
local v1 |
124 |
v1=${PV%.*} |
125 |
|
126 |
cd "${S}"/unix |
127 |
S= emake DESTDIR="${D}" install |
128 |
|
129 |
# fix the tclConfig.sh to eliminate refs to the build directory |
130 |
# and drop unnecessary -L inclusion to default system libdir |
131 |
local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/} |
132 |
sed -i \ |
133 |
-e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix ,TCL_BUILD_LIB_SPEC='," \ |
134 |
-e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='${EPREFIX}/usr/${mylibdir}/tcl${v1}/include'," \ |
135 |
-e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix ,TCL_BUILD_STUB_LIB_SPEC='," \ |
136 |
-e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='${EPREFIX}/usr/${mylibdir}," \ |
137 |
-e "s,^TCL_LIB_FILE='libtcl${v1}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${v1}\$\{TCL_DBGX\}.so\"," \ |
138 |
-e "s,^TCL_STUB_LIB_SPEC='-L${EPREFIX}/usr/${mylibdir} ,TCL_STUB_LIB_SPEC='," \ |
139 |
-e "s,^TCL_LIB_SPEC='-L${EPREFIX}/usr/${mylibdir} ,TCL_LIB_SPEC='," \ |
140 |
"${ED}"/usr/${mylibdir}/tclConfig.sh || die |
141 |
if [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then |
142 |
sed -i \ |
143 |
-e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:${EPREFIX}/usr/${mylibdir}'," \ |
144 |
-e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:${EPREFIX}/usr/${mylibdir}'," \ |
145 |
"${ED}"/usr/${mylibdir}/tclConfig.sh || die |
146 |
fi |
147 |
|
148 |
# install private headers |
149 |
insinto /usr/${mylibdir}/tcl${v1}/include/unix |
150 |
doins "${S}"/unix/*.h |
151 |
insinto /usr/${mylibdir}/tcl${v1}/include/generic |
152 |
doins "${S}"/generic/*.h |
153 |
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tcl.h || die |
154 |
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tclDecls.h || die |
155 |
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h || die |
156 |
|
157 |
# install symlink for libraries |
158 |
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname) |
159 |
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a |
160 |
|
161 |
dosym tclsh${v1} /usr/bin/tclsh |
162 |
|
163 |
cd "${S}" |
164 |
dodoc ChangeLog* README changes |
165 |
} |
166 |
|
167 |
pkg_postinst() { |
168 |
for version in ${REPLACING_VERSIONS}; do |
169 |
if ! version_is_at_least 8.5 ${version}; then |
170 |
echo |
171 |
ewarn "You're upgrading from <dev-lang/tcl-8.5, you must recompile the other" |
172 |
ewarn "packages on your system that link with tcl after the upgrade" |
173 |
ewarn "completes. To perform this action, please run revdep-rebuild" |
174 |
ewarn "in package app-portage/gentoolkit." |
175 |
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should" |
176 |
ewarn "upgrade them before this recompilation, too," |
177 |
echo |
178 |
fi |
179 |
done |
180 |
} |