summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-02-25 09:30:56 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-02-25 09:30:56 +0000
commit31d4692e4c860abad0ac789fbc7824a266668aa6 (patch)
treec87dabdd6abd5cb4d850a02da694f4c51110cff5 /app-emulation/virtualbox/virtualbox-9999.ebuild
parentuse KV_DIR only after linux-mod_pkg_setup, bug 168051 (diff)
downloadgentoo-2-31d4692e4c860abad0ac789fbc7824a266668aa6.tar.gz
gentoo-2-31d4692e4c860abad0ac789fbc7824a266668aa6.tar.bz2
gentoo-2-31d4692e4c860abad0ac789fbc7824a266668aa6.zip
use KV_DIR only after linux-mod_pkg_setup, bug 168051
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-emulation/virtualbox/virtualbox-9999.ebuild')
-rw-r--r--app-emulation/virtualbox/virtualbox-9999.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-emulation/virtualbox/virtualbox-9999.ebuild b/app-emulation/virtualbox/virtualbox-9999.ebuild
index a51f14c7d799..9d66566b6033 100644
--- a/app-emulation/virtualbox/virtualbox-9999.ebuild
+++ b/app-emulation/virtualbox/virtualbox-9999.ebuild
@@ -29,10 +29,14 @@ DEPEND="${RDEPEND}
RDEPEND="${RDEPEND}
additions? ( =app-emulation/virtualbox-additions-1.3.4 )"
-BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
BUILD_TARGETS="all"
MODULE_NAMES="vboxdrv(misc:${S}/out/linux.${ARCH}/release/bin/src:${S}/out/linux.${ARCH}/release/bin/src)"
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
+}
+
src_compile() {
cd "${S}"
./configure || die "configure failed"