emerging CommonC++ 1.9.7 installs include-files under /include/cc++ instead of /usr/include/cc++/. Not entirely sure why this is happening, as the ebuild-file appears to be doing the right thing, but it does. :-)
Try to emerge rsync and emerge over again it works fine on my machine and installs the includes in /usr
Let's try again, this time with a bit more ground work. The configure script is run with the proper --prefix=/usr argument, so that part is okay. However, when it comes to installing, the src_install() function in the ebuild-file does not take the agreed upon prefix into account. It simply does: src_install () { make prefix=${D} install || die dodoc AUTHORS INSTALL NEWS OVERVIEW.TXT ChangeLog\ README THANKS TODO COPYING COPYING.addendum dohtml doc/* } That first line should read make prefix=${D}/usr install || die Otherwise, it will override the initial prefix-assignment from configure and install it effectively with prefix /. My guess is that your /include is symlinked to /usr/include so that you do not see the problem. *Every* other ebuild-file that does installs this way has the extra /usr tagged on at the end here, except commonc++. Check them out.
Well I will leave this open for additional comments.. if you want.. I bumpped up to r1
going from prefix=${D} to DESTDIR=${D} in the r1 fix solved the problem, so you can close this one.
Thanx for the quick reply.. it's much appriciated naz