diff options
Diffstat (limited to 'sys-fs/vhba/vhba-1.1.0.ebuild')
-rw-r--r-- | sys-fs/vhba/vhba-1.1.0.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys-fs/vhba/vhba-1.1.0.ebuild b/sys-fs/vhba/vhba-1.1.0.ebuild index 924ae03f0024..c5eeacddfb92 100644 --- a/sys-fs/vhba/vhba-1.1.0.ebuild +++ b/sys-fs/vhba/vhba-1.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-1.1.0.ebuild,v 1.2 2008/11/16 01:06:24 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-1.1.0.ebuild,v 1.3 2008/11/16 01:24:38 vanquirius Exp $ inherit linux-info linux-mod eutils @@ -27,6 +27,13 @@ pkg_setup() { linux-mod_pkg_setup } +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:/lib/modules/\$(KERNELRELEASE)/build:${KERNEL_DIR}:g" \ + Makefile || die "sed failed" +} + src_compile() { linux-mod_src_compile || die "Error: building module failed!" } |