summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2009-11-11 06:47:15 +0000
committerSven Wegener <swegener@gentoo.org>2009-11-11 06:47:15 +0000
commit558ea0e9a6059ea03969b0138fe0530bf2a42299 (patch)
treeb5da61a371d798ab4cff4667c0e89822abb9c1d4 /sys-cluster/drbd-kernel
parentUpstream merged Email-Simple-Creator into Email-Simple. (diff)
downloadgentoo-2-558ea0e9a6059ea03969b0138fe0530bf2a42299.tar.gz
gentoo-2-558ea0e9a6059ea03969b0138fe0530bf2a42299.tar.bz2
gentoo-2-558ea0e9a6059ea03969b0138fe0530bf2a42299.zip
Switch to KV_DIR and use KV_OUT_DIR for the O build parameter. Versions 8.0.8 and before don't support building with a separate object directory properly.
(Portage version: 2.2_rc49/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster/drbd-kernel')
-rw-r--r--sys-cluster/drbd-kernel/ChangeLog8
-rw-r--r--sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild4
-rw-r--r--sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild4
3 files changed, 11 insertions, 5 deletions
diff --git a/sys-cluster/drbd-kernel/ChangeLog b/sys-cluster/drbd-kernel/ChangeLog
index a1e1adff483d..53550ecb3f82 100644
--- a/sys-cluster/drbd-kernel/ChangeLog
+++ b/sys-cluster/drbd-kernel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-cluster/drbd-kernel
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.19 2009/11/10 11:27:05 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.20 2009/11/11 06:47:15 swegener Exp $
+
+ 11 Nov 2009; Sven Wegener <swegener@gentoo.org> drbd-kernel-8.3.2.ebuild,
+ drbd-kernel-8.3.6.ebuild:
+ Switch to KV_DIR and use KV_OUT_DIR for the O build parameter. Versions
+ 8.0.8 and before don't support building with a separate object directory
+ properly.
*drbd-kernel-8.3.6 (10 Nov 2009)
diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild
index 81ca1135e613..31c9ab798657 100644
--- a/sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild
+++ b/sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild,v 1.1 2009/08/17 11:31:56 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.2.ebuild,v 1.2 2009/11/11 06:47:15 swegener Exp $
inherit eutils versionator linux-mod
@@ -33,7 +33,7 @@ pkg_setup() {
CONFIG_CHECK="CONNECTOR"
CONNECTOR_ERROR="You must enable \"CONNECTOR - unified userspace <-> kernelspace linker\" in your kernel configuration, because drbd needs it."
linux-mod_pkg_setup
- BUILD_PARAMS="-j1 KDIR=${KERNEL_DIR} O=${KERNEL_DIR}"
+ BUILD_PARAMS="-j1 KDIR=${KV_DIR} O=${KV_OUT_DIR}"
}
pkg_postinst() {
diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild
index f0043a470ee4..5a35bbd3f082 100644
--- a/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild
+++ b/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild,v 1.1 2009/11/10 11:27:05 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.6.ebuild,v 1.2 2009/11/11 06:47:15 swegener Exp $
inherit eutils versionator linux-mod
@@ -33,7 +33,7 @@ pkg_setup() {
CONFIG_CHECK="CONNECTOR"
CONNECTOR_ERROR="You must enable \"CONNECTOR - unified userspace <-> kernelspace linker\" in your kernel configuration, because drbd needs it."
linux-mod_pkg_setup
- BUILD_PARAMS="-j1 KDIR=${KERNEL_DIR} O=${KERNEL_DIR}"
+ BUILD_PARAMS="-j1 KDIR=${KV_DIR} O=${KV_OUT_DIR}"
}
pkg_postinst() {