summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-07 10:40:28 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-09-07 10:40:28 +0000
commit3cab7ad1ee0f1c98391646e16b80416d74c7f7ef (patch)
tree2b8d76b4cc520260e73fc9f31ad74d206be26163 /eclass
parentVersion bump. (diff)
downloadhistorical-3cab7ad1ee0f1c98391646e16b80416d74c7f7ef.tar.gz
historical-3cab7ad1ee0f1c98391646e16b80416d74c7f7ef.tar.bz2
historical-3cab7ad1ee0f1c98391646e16b80416d74c7f7ef.zip
Use epatch instead of patch, as discussed on gentoo-dev.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/base.eclass12
1 files changed, 4 insertions, 8 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass
index 9d77ea343738..2bece4b1dba7 100644
--- a/eclass/base.eclass
+++ b/eclass/base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.27 2005/07/11 15:08:06 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.28 2005/09/07 10:40:28 flameeyes Exp $
#
# Author Dan Armak <danarmak@gentoo.org>
#
@@ -27,19 +27,15 @@ base_src_unpack() {
patch)
debug-print-section patch
cd ${S}
- patch -p0 < ${FILESDIR}/${P}-gentoo.diff
+ epatch ${FILESDIR}/${P}-gentoo.diff
;;
autopatch)
debug-print-section autopatch
debug-print "$FUNCNAME: autopatch: PATCHES=$PATCHES, PATCHES1=$PATCHES1"
cd ${S}
- for x in $PATCHES; do
+ for x in $PATCHES $PATCHES1; do
debug-print "$FUNCNAME: autopatch: patching from ${x}"
- patch -p0 < ${x}
- done
- for x in $PATCHES1; do
- debug-print "$FUNCNAME: autopatch: patching -p1 from ${x}"
- patch -p1 < ${x}
+ epatch ${x}
done
;;
all)