summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael J. Cohen <mjc@gentoo.org>2002-08-28 00:06:35 +0000
committerMichael J. Cohen <mjc@gentoo.org>2002-08-28 00:06:35 +0000
commit377ec005e86dc1a84973be6c4005456945f04489 (patch)
tree7e4d0bcbaf8ce21d8df6ce6e122516c4d4a641f1 /eclass/kmod.eclass
parentoops, should have read the howto. (diff)
downloadgentoo-2-377ec005e86dc1a84973be6c4005456945f04489.tar.gz
gentoo-2-377ec005e86dc1a84973be6c4005456945f04489.tar.bz2
gentoo-2-377ec005e86dc1a84973be6c4005456945f04489.zip
fixed SRC_URI wrt distfiles stuff
Diffstat (limited to 'eclass/kmod.eclass')
-rw-r--r--eclass/kmod.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/kmod.eclass b/eclass/kmod.eclass
index 3571f8141bbe..59291f3f478d 100644
--- a/eclass/kmod.eclass
+++ b/eclass/kmod.eclass
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.3 2002/08/27 23:56:38 mjc Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kmod.eclass,v 1.4 2002/08/28 00:06:35 mjc Exp $
# The base eclass defines some default functions and variables. Nearly everything
# else inherits from here.
ECLASS=kmod
@@ -9,16 +9,16 @@ INHERITED="$INHERITED $ECLASS"
S=${WORKDIR}/${P}
DESCRIPTION="Based on the $ECLASS eclass"
+SRC_URI="http://ibiblio.org/gentoo/distfiles/${P}.patch.bz2"
+
kmod_src_unpack() {
debug-print-function $FUNCNAME $*
[ -z "$1" ] && base_src_unpack all
- cd ${WORKDIR}
-
debug-print-section patch
cd /usr/src/linux-${KV}
- patch -p1 < ${FILESDIR}/${P}.patch
+ patch -p1 < ${DISTDIR}/${P}.patch
}