/[gentoo-x86]/dev-util/ccache/ccache-3.1.9.ebuild
Gentoo

Diff of /dev-util/ccache/ccache-3.1.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/Attic/ccache-3.1.9.ebuild,v 1.13 2013/03/23 09:10:24 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-util/ccache/Attic/ccache-3.1.9.ebuild,v 1.14 2013/04/06 18:28:19 vapier Exp $
4 4
5EAPI="4" 5EAPI="4"
6 6
7inherit multilib eutils 7inherit multilib eutils
8 8
43 # nuke broken symlinks from previous versions that shouldn't exist 43 # nuke broken symlinks from previous versions that shouldn't exist
44 rm -f "${ROOT}/usr/$(get_libdir)/ccache/bin/${CHOST}-cc" 44 rm -f "${ROOT}/usr/$(get_libdir)/ccache/bin/${CHOST}-cc"
45 [[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \ 45 [[ -d "${ROOT}/usr/$(get_libdir)/ccache.backup" ]] && \
46 rm -rf "${ROOT}/usr/$(get_libdir)/ccache.backup" 46 rm -rf "${ROOT}/usr/$(get_libdir)/ccache.backup"
47 47
48 if [[ -z ${REPLACING_VERSIONS} ]] ; then
48 elog "To use ccache with **non-Portage** C compiling, add" 49 elog "To use ccache with **non-Portage** C compiling, add"
49 elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin." 50 elog "/usr/$(get_libdir)/ccache/bin to the beginning of your path, before /usr/bin."
50 elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with" 51 elog "Portage 2.0.46-r11+ will automatically take advantage of ccache with"
51 elog "no additional steps. If this is your first install of ccache, type" 52 elog "no additional steps."
52 elog "something like this to set a maximum cache size of 2GB:" 53 elog
54 elog "You might want to set a maximum cache size:"
53 elog "# ccache -M 2G" 55 elog "# ccache -M 2G"
54 elog 56 fi
57 if has_version "<${CATEGORY}/${PN}-3" ; then
55 elog "If you are upgrading from an older version than 3.x you should clear" 58 elog "If you are upgrading from an older version than 3.x you should clear"
56 elog "all of your caches like so:" 59 elog "all of your caches like so:"
57 elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C" 60 elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C"
61 fi
58} 62}

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20