dev-util/ccache-3.1.9-r2 now supports clang (bug #484772). However as clang might not be installed at the time when ccache gets installed some changes are needed in the clang ebuild, so that the user doesn't have to wait for the next ccache rebuild. in pkg_postinst + if has_version ">=dev-util/ccache-3.1.9-r2" ; then + #add ccache links as clang might get installed after ccache + "${EROOT}"/usr/bin/ccache-config --install-links + fi in pkg_postrm + if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then + # --remove-links would remove all links, --install-links updates them + "${EROOT}"/usr/bin/ccache-config --install-links + fi
+ 28 Oct 2013; Christoph Junghans <ottxor@gentoo.org> clang-3.3-r100.ebuild, + clang-9999-r100.ebuild: + added ccache support (bug #486402) +