summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-03-10 16:12:27 +0000
committerJustin Lecher <jlec@gentoo.org>2012-03-10 16:12:27 +0000
commitc3f4c5e3fe7dae8714f6ef51724ddf10e1e5da38 (patch)
tree0e32eb01fcd7b8282a465e5e0b2c92a468d4e609 /dev-lang
parentFix bug #406443. Remove old. (diff)
downloadgentoo-2-c3f4c5e3fe7dae8714f6ef51724ddf10e1e5da38.tar.gz
gentoo-2-c3f4c5e3fe7dae8714f6ef51724ddf10e1e5da38.tar.bz2
gentoo-2-c3f4c5e3fe7dae8714f6ef51724ddf10e1e5da38.zip
Backport to version in stabilization
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tcl/ChangeLog5
-rw-r--r--dev-lang/tcl/tcl-8.5.10-r1.ebuild24
2 files changed, 18 insertions, 11 deletions
diff --git a/dev-lang/tcl/ChangeLog b/dev-lang/tcl/ChangeLog
index 52233813a73d..1048c98590e3 100644
--- a/dev-lang/tcl/ChangeLog
+++ b/dev-lang/tcl/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/tcl
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.151 2012/03/10 15:34:30 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/ChangeLog,v 1.152 2012/03/10 16:12:27 jlec Exp $
+
+ 10 Mar 2012; Justin Lecher <jlec@gentoo.org> tcl-8.5.10-r1.ebuild:
+ Backport to version in stabilization
10 Mar 2012; Petteri Räty <betelgeuse@gentoo.org> tcl-8.5.11.ebuild:
Use EAPI 4 to make use of REPLACING_VERSIONS which enables us to show
diff --git a/dev-lang/tcl/tcl-8.5.10-r1.ebuild b/dev-lang/tcl/tcl-8.5.10-r1.ebuild
index 321b7f2ccfc7..fa3461b19ddc 100644
--- a/dev-lang/tcl/tcl-8.5.10-r1.ebuild
+++ b/dev-lang/tcl/tcl-8.5.10-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.10-r1.ebuild,v 1.2 2012/03/06 18:12:06 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tcl/tcl-8.5.10-r1.ebuild,v 1.3 2012/03/10 16:12:27 jlec Exp $
EAPI=4
-inherit autotools eutils flag-o-matic multilib toolchain-funcs
+inherit versionator autotools eutils flag-o-matic multilib toolchain-funcs
MY_P="${PN}${PV/_beta/b}"
@@ -106,12 +106,16 @@ src_install() {
}
pkg_postinst() {
- echo
- ewarn "If you're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
- ewarn "packages on your system that link with tcl after the upgrade"
- ewarn "completes. To perform this action, please run revdep-rebuild"
- ewarn "in package app-portage/gentoolkit."
- ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
- ewarn "upgrade them before this recompilation, too,"
- echo
+ for version in ${REPLACING_VERSIONS}; do
+ if ! version_is_at_least 8.5 ${version}; then
+ echo
+ ewarn "You're upgrading from <dev-lang/tcl-8.5, you must recompile the other"
+ ewarn "packages on your system that link with tcl after the upgrade"
+ ewarn "completes. To perform this action, please run revdep-rebuild"
+ ewarn "in package app-portage/gentoolkit."
+ ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
+ ewarn "upgrade them before this recompilation, too,"
+ echo
+ fi
+ done
}