Patch attached...
Created attachment 144713 [details, diff] freenet6-5.1.ebuild.diff
Great! Committed in CVS