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

net-dialup/bewan-adsl/ChangeLog
net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild
net-dialup/eagle-usb/ChangeLog
net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild
net-dialup/ltmodem/ChangeLog
net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild

index aef58bd384376f270f21b41c99a0e00dc45c9d6d..1b654d93085add79d9481b7525a30241d6afb001 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-dialup/bewan-adsl
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.18 2007/01/15 21:35:18 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.19 2007/02/25 09:12:32 genstef Exp $
+
+  25 Feb 2007; <genstef@gentoo.org> ChangeLog:
+  use KV_DIR only after linux-mod_pkg_setup, bug 168051
 
   15 Jan 2007; Alin Năstac <mrness@gentoo.org> bewan-adsl-0.9.3-r2.ebuild:
   Add informational messages in postinst function, thanks to Sebastián
index d82c212fdb2a0ca1028dd8488ab5593ac16d0889..b6eb96c6f336e917a997ced596ccc587ac6d8bd2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.5 2007/01/15 21:35:18 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.6 2007/02/25 09:12:32 genstef Exp $
 
 inherit eutils linux-mod
 
@@ -21,7 +21,6 @@ S="${WORKDIR}/unicorn"
 
 PCI_S="${S}/unicorn_pci"
 USB_S="${S}/unicorn_usb"
-BUILD_PARAMS="KERNEL_SOURCES=${KV_DIR} KVERS=${KV_FULL}"
 BUILD_TARGETS="modules"
 CONFIG_CHECK="ATM"
 ATM_ERROR="This driver requires you to build your kernel with support for Asynchronous Transfer Mode (ATM)"
@@ -31,6 +30,7 @@ pkg_setup() {
        use usb && MODULE_NAMES="${MODULE_NAMES} unicorn_usb_atm(extra:${USB_S}) unicorn_usb_eth(extra:${USB_S})"
 
        linux-mod_pkg_setup
+       BUILD_PARAMS="KERNEL_SOURCES=${KV_DIR} KVERS=${KV_FULL}"
 }
 
 src_unpack() {
index 94129310fb288c2747edf0289178192be39c8517..632792b62b8d53901ab7dd556444d56ea30b7475 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-dialup/eagle-usb
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/ChangeLog,v 1.9 2006/04/30 13:14:08 mrness Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/ChangeLog,v 1.10 2007/02/25 09:14:08 genstef Exp $
+
+  25 Feb 2007; <genstef@gentoo.org> eagle-usb-2.3.3.ebuild:
+  use KV_DIR only after linux-mod_pkg_setup, bug 168051
 
   30 Apr 2006; Alin Nastac <mrness@gentoo.org>
   -files/eagle-usb-2.3.2-kernel-2.6.14.patch, -eagle-usb-2.3.2.ebuild,
index 93b49e8aea0d97d59a53f7f0f3382907c35b3ffd..fb340c979b0928a70a1a1fbc69d4e02687f62c9f 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild,v 1.3 2006/04/30 13:14:08 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild,v 1.4 2007/02/25 09:14:08 genstef Exp $
 
 inherit linux-mod eutils
 
@@ -19,7 +19,6 @@ RDEPEND="net-dialup/ppp
 MODULE_NAMES="${PN}(net:${S}/driver)"
 CONFIG_CHECK="!IPV6 USB"
 BUILD_TARGETS=" "
-BUILD_PARAMS="KERNELSRC='${KV_DIR}'"
 
 pkg_setup() {
        if kernel_is ge 2 6 16; then
@@ -31,6 +30,7 @@ pkg_setup() {
                die "unsupported kernel version"
        fi
        linux-mod_pkg_setup
+       BUILD_PARAMS="KERNELSRC='${KV_DIR}'"
 }
 
 src_unpack() {
index 1a02cb4b0370d108a83496f042f0aea6e41e6e9b..56b415375f699bbb40f83f407b2d0f10f16e0703 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for net-dialup/ltmodem
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.30 2006/12/20 18:55:35 mrness Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ChangeLog,v 1.31 2007/02/25 09:15:59 genstef Exp $
+
+  25 Feb 2007; <genstef@gentoo.org> ltmodem-8.31_alpha10-r3.ebuild:
+  use KV_DIR only after linux-mod_pkg_setup, bug 168051
 
   20 Dec 2006; Alin Năstac <mrness@gentoo.org>
   files/ltmodem-2.6-alk-8-kernel-changes.patch:
index 5142b12726666c70de4b427c564f69c0ff1c8260..27589675d4c52a131947b21647c6d2dde484d23d 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.2 2006/09/21 19:07:35 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild,v 1.3 2007/02/25 09:15:59 genstef Exp $
 
 inherit linux-mod eutils
 
@@ -24,9 +24,6 @@ S_2_4="${WORKDIR}/${MY_P}"
 
 DEPEND="sys-apps/util-linux"
 
-BUILD_TARGETS="module"
-BUILD_PARAMS="KERNEL_DIR='${KV_DIR}'"
-
 pkg_setup() {
        if kernel_is 2 4; then
                MODULE_NAMES="lt_modem(lt_modem:) lt_serial(lt_modem:)"
@@ -44,6 +41,9 @@ pkg_setup() {
                SERIAL_8250_ERROR="This driver requires you to compile your kernel with serial core (CONFIG_SERIAL_8250) support."
        fi
        linux-mod_pkg_setup
+
+       BUILD_TARGETS="module"
+       BUILD_PARAMS="KERNEL_DIR='${KV_DIR}'"
 }
 
 src_unpack() {