summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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"