From 94940015be0433d5bb86d7791c1614538db5d431 Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Sun, 25 Nov 2007 00:27:50 +0000 Subject: Version bumped. Fixed wrong symlink wrt bug #200090. (Portage version: 2.1.3.19) --- dev-lang/tcl/ChangeLog | 8 ++- dev-lang/tcl/files/digest-tcl-8.5_beta3 | 3 + dev-lang/tcl/files/digest-tcl-8.5b | 3 - dev-lang/tcl/tcl-8.5_beta3.ebuild | 107 ++++++++++++++++++++++++++++++++ dev-lang/tcl/tcl-8.5b.ebuild | 105 ------------------------------- 5 files changed, 117 insertions(+), 109 deletions(-) create mode 100644 dev-lang/tcl/files/digest-tcl-8.5_beta3 delete mode 100644 dev-lang/tcl/files/digest-tcl-8.5b create mode 100644 dev-lang/tcl/tcl-8.5_beta3.ebuild delete mode 100644 dev-lang/tcl/tcl-8.5b.ebuild (limited to 'dev-lang/tcl') diff --git a/dev-lang/tcl/ChangeLog b/dev-lang/tcl/ChangeLog index a1e4f6cbb9d9..ccae5a5a0ed8 100644 --- a/dev-lang/tcl/ChangeLog +++ b/dev-lang/tcl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/tcl # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.89 2007/11/03 21:03:55 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.90 2007/11/25 00:27:50 matsuu Exp $ + +*tcl-8.5_beta3 (25 Nov 2007) + + 25 Nov 2007; +tcl-8.5_beta3.ebuild, -tcl-8.5b.ebuild: + Version bumped. + Fixed tclsh issue wrt bug #200090. *tcl-8.5b (03 Nov 2007) diff --git a/dev-lang/tcl/files/digest-tcl-8.5_beta3 b/dev-lang/tcl/files/digest-tcl-8.5_beta3 new file mode 100644 index 000000000000..194fa1fb0134 --- /dev/null +++ b/dev-lang/tcl/files/digest-tcl-8.5_beta3 @@ -0,0 +1,3 @@ +MD5 08b9a17eab59a634c47b0a38898f7c5a tcl8.5b3-src.tar.gz 4336995 +RMD160 4b16b48eaf0ebbfac26681542763c82384b8bcc0 tcl8.5b3-src.tar.gz 4336995 +SHA256 00c9ff3519102b9330ba8f2ecb9537679b8e0a775e1669af7df17520acfa36e4 tcl8.5b3-src.tar.gz 4336995 diff --git a/dev-lang/tcl/files/digest-tcl-8.5b b/dev-lang/tcl/files/digest-tcl-8.5b deleted file mode 100644 index a0146ae32870..000000000000 --- a/dev-lang/tcl/files/digest-tcl-8.5b +++ /dev/null @@ -1,3 +0,0 @@ -MD5 43aeaa5bb1ad18a1588ca91675dcfa34 tcl8.5b2-src.tar.gz 4290031 -RMD160 86cd306b9a2e0f575daaa5668b42bcb7a575f7ab tcl8.5b2-src.tar.gz 4290031 -SHA256 69467b998a27835a94f6d59b4345efdc2258c2be7ee0818e8694cc2c03b1607a tcl8.5b2-src.tar.gz 4290031 diff --git a/dev-lang/tcl/tcl-8.5_beta3.ebuild b/dev-lang/tcl/tcl-8.5_beta3.ebuild new file mode 100644 index 000000000000..a5b057d67ca8 --- /dev/null +++ b/dev-lang/tcl/tcl-8.5_beta3.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5_beta3.ebuild,v 1.1 2007/11/25 00:27:50 matsuu Exp $ + +WANT_AUTOCONF=latest +WANT_AUTOMAKE=latest + +inherit autotools eutils multilib toolchain-funcs + +MY_P="${PN}${PV/_beta/b}" +DESCRIPTION="Tool Command Language" +HOMEPAGE="http://www.tcl.tk/" +SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="debug threads" + +DEPEND="" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + if use threads ; then + ewarn "" + ewarn "PLEASE NOTE: You are compiling ${P} with" + ewarn "threading enabled." + ewarn "Threading is not supported by all applications" + ewarn "that compile against tcl. You use threading at" + ewarn "your own discretion." + ewarn "" + epause 5 + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-8.5_alpha6-multilib.patch + + # Bug 125971 + epatch "${FILESDIR}"/${PN}-8.5_alpha6-tclm4-soname.patch + + cd "${S}"/unix + eautoreconf +} + +src_compile() { + tc-export CC + + cd "${S}"/unix + econf \ + $(use_enable threads) \ + $(use_enable debug symbols) || die + emake || die +} + +src_install() { + #short version number + local v1 + v1=${PV%_*} + + cd "${S}"/unix + S= emake DESTDIR="${D}" install || die + + # fix the tclConfig.sh to eliminate refs to the build directory + local mylibdir=$(get_libdir) ; mylibdir=${mylibdir//\/} + sed -i \ + -e "s,^TCL_BUILD_LIB_SPEC='-L.*/unix,TCL_BUILD_LIB_SPEC='-L$/usr/${mylibdir}," \ + -e "s,^TCL_SRC_DIR='.*',TCL_SRC_DIR='/usr/${mylibdir}/tcl${v1}/include'," \ + -e "s,^TCL_BUILD_STUB_LIB_SPEC='-L.*/unix,TCL_BUILD_STUB_LIB_SPEC='-L/usr/${mylibdir}," \ + -e "s,^TCL_BUILD_STUB_LIB_PATH='.*/unix,TCL_BUILD_STUB_LIB_PATH='/usr/${mylibdir}," \ + -e "s,^TCL_LIB_FILE='libtcl${v1}..TCL_DBGX..so',TCL_LIB_FILE=\"libtcl${v1}\$\{TCL_DBGX\}.so\"," \ + -e "s,^TCL_CC_SEARCH_FLAGS='\(.*\)',TCL_CC_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \ + -e "s,^TCL_LD_SEARCH_FLAGS='\(.*\)',TCL_LD_SEARCH_FLAGS='\1:/usr/${mylibdir}'," \ + "${D}"/usr/${mylibdir}/tclConfig.sh || die + + # install private headers + insinto /usr/${mylibdir}/tcl${v1}/include/unix + doins "${S}"/unix/*.h || die + insinto /usr/${mylibdir}/tcl${v1}/include/generic + doins "${S}"/generic/*.h || die + rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tcl.h + rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclDecls.h + rm -f "${D}"/usr/${mylibdir}/tcl${v1}/include/generic/tclPlatDecls.h + + # install symlink for libraries + dosym libtcl${v1}.so /usr/${mylibdir}/libtcl.so + dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a + + dosym tclsh${v1} /usr/bin/tclsh + + cd "${S}" + dodoc ChangeLog* README changes +} + +pkg_postinst() { + ewarn + ewarn "If you're upgrading from