From: Stefan Schweizer Date: Sun, 25 Feb 2007 09:15:59 +0000 (+0000) Subject: use KV_DIR only after linux-mod_pkg_setup, bug 168051 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=41b6d0dd0507bc362629c17299573a5fa0985250;p=gentoo.git use KV_DIR only after linux-mod_pkg_setup, bug 168051 Package-Manager: portage-2.1.2-r9 --- diff --git a/net-dialup/bewan-adsl/ChangeLog b/net-dialup/bewan-adsl/ChangeLog index aef58bd38437..1b654d93085a 100644 --- a/net-dialup/bewan-adsl/ChangeLog +++ b/net-dialup/bewan-adsl/ChangeLog @@ -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; ChangeLog: + use KV_DIR only after linux-mod_pkg_setup, bug 168051 15 Jan 2007; Alin Năstac bewan-adsl-0.9.3-r2.ebuild: Add informational messages in postinst function, thanks to Sebastián diff --git a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild index d82c212fdb2a..b6eb96c6f336 100644 --- a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild +++ b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild @@ -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() { diff --git a/net-dialup/eagle-usb/ChangeLog b/net-dialup/eagle-usb/ChangeLog index 94129310fb28..632792b62b8d 100644 --- a/net-dialup/eagle-usb/ChangeLog +++ b/net-dialup/eagle-usb/ChangeLog @@ -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; eagle-usb-2.3.3.ebuild: + use KV_DIR only after linux-mod_pkg_setup, bug 168051 30 Apr 2006; Alin Nastac -files/eagle-usb-2.3.2-kernel-2.6.14.patch, -eagle-usb-2.3.2.ebuild, diff --git a/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild b/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild index 93b49e8aea0d..fb340c979b09 100644 --- a/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild +++ b/net-dialup/eagle-usb/eagle-usb-2.3.3.ebuild @@ -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() { diff --git a/net-dialup/ltmodem/ChangeLog b/net-dialup/ltmodem/ChangeLog index 1a02cb4b0370..56b415375f69 100644 --- a/net-dialup/ltmodem/ChangeLog +++ b/net-dialup/ltmodem/ChangeLog @@ -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; ltmodem-8.31_alpha10-r3.ebuild: + use KV_DIR only after linux-mod_pkg_setup, bug 168051 20 Dec 2006; Alin Năstac files/ltmodem-2.6-alk-8-kernel-changes.patch: diff --git a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild index 5142b1272666..27589675d4c5 100644 --- a/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild +++ b/net-dialup/ltmodem/ltmodem-8.31_alpha10-r3.ebuild @@ -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() {