summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-03-08 09:57:00 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-03-08 09:57:00 +0000
commit879571d1bcd0e52e9e608b92d95d5609781a9ab9 (patch)
tree2cbf487fce45b1f3ea33d55c576cba7097f223e9 /dev-embedded
parentadd load path correctly, fixes bug 169588, reported by Ulrich Mueller <ulm@kp... (diff)
downloadgentoo-2-879571d1bcd0e52e9e608b92d95d5609781a9ab9.tar.gz
gentoo-2-879571d1bcd0e52e9e608b92d95d5609781a9ab9.tar.bz2
gentoo-2-879571d1bcd0e52e9e608b92d95d5609781a9ab9.zip
Do not use eclass vars before pkg_setup, bug 168051
(Portage version: 2.1.2-r12)
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/gpio/ChangeLog5
-rw-r--r--dev-embedded/gpio/gpio-1.3.2.ebuild10
2 files changed, 11 insertions, 4 deletions
diff --git a/dev-embedded/gpio/ChangeLog b/dev-embedded/gpio/ChangeLog
index 1b21457799ac..5383239705af 100644
--- a/dev-embedded/gpio/ChangeLog
+++ b/dev-embedded/gpio/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-embedded/gpio
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/ChangeLog,v 1.4 2007/02/09 01:46:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/ChangeLog,v 1.5 2007/03/08 09:57:00 genstef Exp $
+
+ 08 Mar 2007; <genstef@gentoo.org> gpio-1.3.2.ebuild:
+ Do not use eclass vars before pkg_setup, bug 168051
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/dev-embedded/gpio/gpio-1.3.2.ebuild b/dev-embedded/gpio/gpio-1.3.2.ebuild
index b650f2454ca4..b81730c705c3 100644
--- a/dev-embedded/gpio/gpio-1.3.2.ebuild
+++ b/dev-embedded/gpio/gpio-1.3.2.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/gpio/gpio-1.3.2.ebuild,v 1.3 2005/01/01 17:52:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/gpio-1.3.2.ebuild,v 1.4 2007/03/08 09:57:00 genstef Exp $
inherit linux-mod
@@ -15,9 +15,13 @@ RDEPEND=""
DEPEND="virtual/libc"
MODULE_NAMES="gpio(kernel/drivers:) writelcd(kernel/drivers:)"
-BUILD_PARAMS="KERNELDIR=${KV_DIR}"
BUILD_TARGETS="all"
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERNELDIR=${KV_DIR}"
+}
+
src_unpack() {
unpack ${A}
cd ${S} || die