inherit should always be the first thing in an ebuild
fixed in portage; thanks for catching that, Spanky.