use KV_DIR only after linux-mod_pkg_setup, bug 168051
authorStefan Schweizer <genstef@gentoo.org>
Sun, 25 Feb 2007 09:33:32 +0000 (09:33 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Sun, 25 Feb 2007 09:33:32 +0000 (09:33 +0000)
Package-Manager: portage-2.1.2-r9

app-emulation/virtualbox-bin/ChangeLog
app-emulation/virtualbox-bin/virtualbox-bin-1.3.4.ebuild
app-emulation/virtualbox/ChangeLog
app-emulation/virtualbox/virtualbox-1.3.4-r1.ebuild
app-emulation/virtualbox/virtualbox-9999.ebuild

index 80720f9a0daa7c873c04a3adb96da736a5d2bd0c..193e3f21d5590181f250440e19e4f30babc5df16 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for app-emulation/virtualbox-bin
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.2 2007/02/16 20:35:43 jokey Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/virtualbox-bin/ChangeLog,v 1.3 2007/02/25 09:33:32 genstef Exp $
+
+  25 Feb 2007; <genstef@gentoo.org> virtualbox-bin-1.3.4.ebuild:
+  use KV_DIR only after linux-mod_pkg_setup, bug 168051
 
   16 Feb 2007; Markus Ullmann <jokey@gentoo.org>
   virtualbox-bin-1.3.4.ebuild:
index d6553100ccba4963ca97909437d0081085100c81..2b8420e4e896d3293e662fbac146d0a8470151b0 100644 (file)
@@ -41,12 +41,12 @@ S=${WORKDIR}
 
 RESTRICT="primaryuri"
 
-BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
 BUILD_TARGETS="all"
 MODULE_NAMES="vboxdrv(misc:${S}/src)"
 
 pkg_setup() {
        linux-mod_pkg_setup
+       BUILD_PARAMS="KERN_DIR=${KV_DIR} KERNOUT=${KV_OUT_DIR}"
        check_license
 }
 
index ca5ed188ffeb6ba2753955a164cb28523167e7e2..b5b6aeb47f23e5516b58d33b5291a6a5c3f11dfd 100644 (file)
@@ -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
index c92c35ab642aeee3f03a078395388eaf338f376d..6261f5a13e9a65906f66e8acef81a0c895a4494c 100644 (file)
@@ -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"
index a51f14c7d799d5cab62cee9b6ce4b1642f0286da..9d66566b6033453752746f6f28b67d797f38716b 100644 (file)
@@ -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"