Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 484772 | Differences between
and this patch

Collapse All | Expand All

(-)/var/lib/overlays/gentoo-x86/dev-util/ccache/ccache-3.1.9-r1.ebuild (+8 lines)
Lines 37-42 Link Here
37
	dobin ccache-config
37
	dobin ccache-config
38
}
38
}
39
39
40
pkg_prerm() {
41
	"${EROOT}"/usr/bin/ccache-config --remove-links
42
	"${EROOT}"/usr/bin/ccache-config --remove-links ${CHOST}
43
}
44
40
pkg_postinst() {
45
pkg_postinst() {
41
	"${EROOT}"/usr/bin/ccache-config --install-links
46
	"${EROOT}"/usr/bin/ccache-config --install-links
42
	"${EROOT}"/usr/bin/ccache-config --install-links ${CHOST}
47
	"${EROOT}"/usr/bin/ccache-config --install-links ${CHOST}
Lines 60-63 Link Here
60
		elog "all of your caches like so:"
65
		elog "all of your caches like so:"
61
		elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C"
66
		elog "# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C"
62
	fi
67
	fi
68
	if has_version "<${CATEGORY}/${PN}-3.1.9-r2" ; then
69
		elog "ccache now supports sys-devel/clang and dev-lang/icc, too!"
70
	fi
63
}
71
}
(-)/var/lib/overlays/gentoo-x86/dev-util/ccache/files/ccache-config-2 (-8 / +2 lines)
Lines 69-82 Link Here
69
}
69
}
70
cc_links() {
70
cc_links() {
71
	local a
71
	local a
72
	for a in gcc cc c++ g++ ; do
72
	for a in gcc cc c++ g++ icc icpc clang clang++ ; do
73
		if [ -n "${2}" ] ; then
73
		eval "cc_${1}_link" "${2}${2:+-}${a}"
74
			# gcc-config doesnt install ${CHOST}-cc, so until
75
			# it does, don't install a ccache symlink for it
76
			[ "${a}" = "cc" ] && continue
77
			a="${2}-${a}"
78
		fi
79
		eval "cc_${1}_link" "${a}"
80
	done
74
	done
81
}
75
}
82
76

Return to bug 484772