Fixes a bunch of issues. Straight copying of the ebuild works. Reproducible: Always
fixed in cvs - thanks