Created attachment 275781 [details] Build log This bug is being reported because this ebuild is currently trying to build against the kernel tree by accessing it through /lib/modules/`uname -r` instead than through /usr/src/linux like it should. This is bad in many situations, like: - livecd installs: the running kernel is the one from the livecd and is most likely not the same the user is installing to; - livecd chroot fixes: as above; - generic chroot: running kernel comes from outside, as above; - kernel updates: users most likely would w
+ 05 Jun 2011; Michael Weber <xmw@gentoo.org> batman-adv-2011.1.0.ebuild: + Use from linux-mod as kernel source instead of uname -r (bug 370023) + Index: batman-adv-2011.1.0.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-misc/batman-adv/batman-adv-2011.1.0.ebuild,v retrieving revision 1.2 diff -u -B -r1.2 batman-adv-2011.1.0.ebuild --- batman-adv-2011.1.0.ebuild 20 May 2011 22:30:54 -0000 1.2 +++ batman-adv-2011.1.0.ebuild 5 Jun 2011 08:30:08 -0000 @@ -22,6 +22,11 @@ DEPEND="" RDEPEND="" +src_compile() { + export KERNELPATH="${KERNEL_DIR}" + linux-mod_src_compile +} + src_install() { linux-mod_src_install dodoc README CHANGELOG || die