Imported portage-prefix from gentoo_prefix.
Fixed a portage bug.