diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-03-08 09:55:40 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-03-08 09:55:40 +0000 |
commit | 9499580dd3d548be4e9a89a099850b131cc35abf (patch) | |
tree | a26c9854d31ef20035bdcc09348992c52482f05c /dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild | |
parent | add load path correctly, fixes bug 169588, reported by Ulrich Mueller <ulm@kp... (diff) | |
download | gentoo-2-9499580dd3d548be4e9a89a099850b131cc35abf.tar.gz gentoo-2-9499580dd3d548be4e9a89a099850b131cc35abf.tar.bz2 gentoo-2-9499580dd3d548be4e9a89a099850b131cc35abf.zip |
Do not use eclass vars before pkg_setup, bug 168051
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild')
-rw-r--r-- | dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild b/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild index a2f52eca64ef..8c22e87d2e87 100644 --- a/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild +++ b/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild,v 1.1 2005/01/30 03:46:46 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild,v 1.2 2007/03/08 09:55:40 genstef Exp $ inherit linux-mod toolchain-funcs @@ -19,11 +19,15 @@ RDEPEND="" MODULE_NAMES="kparapin(kernel:kparapin) parapindriver(kernel:parapindriver)" BUILD_TARGETS="clean modules" -BUILD_PARAMS="CC=$(tc-getCC) LINUX_SRC=${KV_DIR} -C .." CONFIG_CHECK="PARPORT" PARPORT_ERROR="Please make sure Device Drivers -> Parallel port support is enabled in your kernel" +pkg_setup() { + linux-mod_pkg_setup + BUILD_PARAMS="CC=$(tc-getCC) LINUX_SRC=${KV_DIR} -C .." +} + src_compile() { if kernel_is ge 2 6; then ./setup-2.6.sh || die "setup-2.6.sh failed" |