diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-04-06 18:28:19 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-04-06 18:28:19 +0000 |
commit | 03bc17fd7b029934d4709042e3c2e42c36377e09 (patch) | |
tree | d69f83466b6016c96ebc931db009e420ab6ab359 /dev-util/ccache | |
parent | Require at least cups-1.5, bug 464588 (diff) | |
download | gentoo-2-03bc17fd7b029934d4709042e3c2e42c36377e09.tar.gz gentoo-2-03bc17fd7b029934d4709042e3c2e42c36377e09.tar.bz2 gentoo-2-03bc17fd7b029934d4709042e3c2e42c36377e09.zip |
Only show ccache messages on first emerge #458624 by Pacho Ramos.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-util/ccache')
-rw-r--r-- | dev-util/ccache/ChangeLog | 5 | ||||
-rw-r--r-- | dev-util/ccache/ccache-3.1.9.ebuild | 26 |
2 files changed, 19 insertions, 12 deletions
diff --git a/dev-util/ccache/ChangeLog b/dev-util/ccache/ChangeLog index 3e075e14eb55..6c327c426e45 100644 --- a/dev-util/ccache/ChangeLog +++ b/dev-util/ccache/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-util/ccache # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.121 2013/03/23 09:10:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ChangeLog,v 1.122 2013/04/06 18:28:19 vapier Exp $ + + 06 Apr 2013; Mike Frysinger <vapier@gentoo.org> ccache-3.1.9.ebuild: + Only show ccache messages on first emerge #458624 by Pacho Ramos. 23 Mar 2013; Mike Frysinger <vapier@gentoo.org> +files/ccache-3.1.9-test-gcc-3.8.patch, ccache-3.1.9.ebuild: diff --git a/dev-util/ccache/ccache-3.1.9.ebuild b/dev-util/ccache/ccache-3.1.9.ebuild index 214d75112941..ee209a49706b 100644 --- a/dev-util/ccache/ccache-3.1.9.ebuild +++ b/dev-util/ccache/ccache-3.1.9.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-3.1.9.ebuild,v 1.13 2013/03/23 09:10:24 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/ccache-3.1.9.ebuild,v 1.14 2013/04/06 18:28:19 vapier Exp $ EAPI="4" @@ -45,14 +45,18 @@ pkg_postinst() { [[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \ rm -rf "${ROOT}/usr/$(get_libdir)/ccache.backup" - elog "To use ccache with **non-Portage** C compiling, add" - elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin." - elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with" - elog "no additional steps. If this is your first install of ccache, type" - elog "something like this to set a maximum cache size of 2GB:" - elog "# ccache -M 2G" - elog - elog "If you are upgrading from an older version than 3.x you should clear" - elog "all of your caches like so:" - elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C" + if [[ -z ${REPLACING_VERSIONS} ]] ; then + elog "To use ccache with **non-Portage** C compiling, add" + elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin." + elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with" + elog "no additional steps." + elog + elog "You might want to set a maximum cache size:" + elog "# ccache -M 2G" + fi + if has_version "<${CATEGORY}/${PN}-3" ; then + elog "If you are upgrading from an older version than 3.x you should clear" + elog "all of your caches like so:" + elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C" + fi } |