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
commit0f492a5b512d4d18f9a262e86612f43df48f9cc4 (patch)
treef4adca58146dbd532ef8062b5e7874d9c4fca8c6 /eclass/kmod.eclass
parentoops, should have read the howto. (diff)
downloadhistorical-0f492a5b512d4d18f9a262e86612f43df48f9cc4.tar.gz
historical-0f492a5b512d4d18f9a262e86612f43df48f9cc4.tar.bz2
historical-0f492a5b512d4d18f9a262e86612f43df48f9cc4.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
}