summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-02-25 09:33:32 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-02-25 09:33:32 +0000
commit52491cb4833b0e489189c01c53840be4c875eef2 (patch)
tree720aea5eef54aabe9241e55c41e8ae320409cf2f /app-emulation/virtualbox
parentRemove unused version and change SRC_URI to goodies from new version. (diff)
downloadhistorical-52491cb4833b0e489189c01c53840be4c875eef2.tar.gz
historical-52491cb4833b0e489189c01c53840be4c875eef2.tar.bz2
historical-52491cb4833b0e489189c01c53840be4c875eef2.zip
use KV_DIR only after linux-mod_pkg_setup, bug 168051
Package-Manager: portage-2.1.2-r9
Diffstat (limited to 'app-emulation/virtualbox')
-rw-r--r--app-emulation/virtualbox/ChangeLog6
-rw-r--r--app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild6
-rw-r--r--app-emulation/virtualbox/virtualbox-9999.ebuild6
3 files changed, 15 insertions, 3 deletions
diff --git a/app-emulation/virtualbox/ChangeLog b/app-emulation/virtualbox/ChangeLog
index ca5ed188ffeb..b5b6aeb47f23 100644
--- a/app-emulation/virtualbox/ChangeLog
+++ b/app-emulation/virtualbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/virtualbox
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.9 2007/02/21 19:57:50 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox/ChangeLog,v 1.10 2007/02/25 09:30:56 genstef Exp $
+
+ 25 Feb 2007; <genstef@gentoo.org> virtualbox-1.3.4-r1.ebuild,
+ virtualbox-9999.ebuild:
+ use KV_DIR only after linux-mod_pkg_setup, bug 168051
21 Feb 2007; Simon Stelling <blubb@gentoo.org> virtualbox-9999.ebuild:
re-keyword ~amd64 per bug 167001 comment #6
diff --git a/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild b/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild
index c92c35ab642a..6261f5a13e9a 100644
--- a/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild
+++ b/app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild
@@ -32,10 +32,14 @@ RDEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
-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"
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"