Created attachment 298083 [details, diff] ebuild.patch I make it as EAPI4 because of missing of 'die' after portage-helper functions.
should be all set now in the tree; thanks for the report! Commit message: Simplify ebuild a bit, and make sure we respect $CC http://sources.gentoo.org/sys-apps/netkit-base/netkit-base-0.17-r9.ebuild?r1=1.5&r2=1.6