--- /usr/portage/app-misc/usbirboy/usbirboy-0.3.1.ebuild 2009-04-05 03:08:24.000000000 -0500 +++ usbirboy-0.3.1.ebuild 2009-06-04 12:38:49.592279315 -0500 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/usbirboy/usbirboy-0.3.1.ebuild,v 1.1 2008/05/16 20:49:40 zzam Exp $ +EAPI=2 + inherit linux-mod eutils DESCRIPTION="Use home made infrared receiver connected via USB" @@ -34,6 +36,10 @@ BUILD_TARGETS="clean all" } +src_prepare(){ + sed -i "s:\$(UNAME):${KV_FULL}:g" ${S}/Makefile || die "sed failed" +} + src_install() { linux-mod_src_install