summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2001-10-01 11:04:22 +0000
committerDan Armak <danarmak@gentoo.org>2001-10-01 11:04:22 +0000
commit350b1e0e111739a47907cf58b98762f63efbbdca (patch)
tree4223f60f9cfe6eebfcfc2d16fd2fa5a403bd8c1c /eclass/base.eclass
parentupdated to 0.10.3 (diff)
downloadgentoo-2-350b1e0e111739a47907cf58b98762f63efbbdca.tar.gz
gentoo-2-350b1e0e111739a47907cf58b98762f63efbbdca.tar.bz2
gentoo-2-350b1e0e111739a47907cf58b98762f63efbbdca.zip
eclasses v3. read the gentoo-dev announcement, and news.txt and howto.*
in doc/.
Diffstat (limited to 'eclass/base.eclass')
-rw-r--r--eclass/base.eclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass
index 92368ae8bd03..8937f226a6ba 100644
--- a/eclass/base.eclass
+++ b/eclass/base.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/base.eclass,v 1.4 2001/09/29 12:35:38 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.5 2001/10/01 11:04:22 danarmak Exp $
# The base eclass defines some default functions and variables. Nearly everything
# else inherits from here.
. /usr/portage/eclass/inherit.eclass || die
@@ -23,6 +23,10 @@ base_src_unpack() {
echo "in base_src_unpack, action unpack"
unpack ${A}
;;
+ patch)
+ cd ${S}
+ patch -p0 < ${FILESDIR}/${P}-gentoo.diff
+ ;;
all)
echo "in base_src_unpack, action all"
base_src_unpack unpack