There is probably a better way to do this, but... colorgcc expects it's etc file to be /etc/colorgcc/colorgccrc --- BEGIN CUT --- 34c34,38 < dodoc COPYING CREDITS ChangeLog INSTALL colorgccrc --- > > dodoc COPYING CREDITS ChangeLog INSTALL > > insinto /etc/colorgcc > dolib colorgccrc --- END CUT ---
We should also add the following to the ebuild dosym /usr/bin/colorgcc /usr/bin/wrappers/i686-pc-linux-gnu-c++ dosym /usr/bin/colorgcc /usr/bin/wrappers/i686-pc-linux-gnu-g++ dosym /usr/bin/colorgcc /usr/bin/wrappers/i686-pc-linux-gnu-gcc
the i686 stuff is a little too specific, I should think
if [ `uname -m` == 'i686' ]; then dosym ... fi pick your arches...
debian has increased the version of the diff was http://ftp.debian.org/debian/pool/main/c/${PN}/${PN}_${PV}-4.1.diff.gz is now http://ftp.debian.org/debian/pool/main/c/${PN}/${PN}_${PV}-4.2.diff.gz
Why the arch specific stuff ? With gcc-config it should not be needed ?
Fixed in -r3.