/[gentoo-x86]/eclass/base.eclass
Gentoo

Diff of /eclass/base.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.32 Revision 1.33
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.32 2008/02/12 23:51:51 betelgeuse Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.33 2008/02/16 20:12:58 betelgeuse Exp $
4# 4#
5# Author Dan Armak <danarmak@gentoo.org> (nowadays retired) 5# Author Dan Armak <danarmak@gentoo.org> (nowadays retired)
6# 6#
7# The base eclass defines some default functions and variables. Nearly everything 7# The base eclass defines some default functions and variables. Nearly everything
8# else inherits from here. 8# else inherits from here.
32 ;; 32 ;;
33 autopatch) 33 autopatch)
34 debug-print-section autopatch 34 debug-print-section autopatch
35 debug-print "$FUNCNAME: autopatch: PATCHES=$PATCHES, PATCHES1=$PATCHES1" 35 debug-print "$FUNCNAME: autopatch: PATCHES=$PATCHES, PATCHES1=$PATCHES1"
36 cd "${S}" 36 cd "${S}"
37 for x in $PATCHES $PATCHES1; do 37 if [[ ${#PATCHES[@]} -gt 1 ]]; then
38 for x in "${PATCHES[@]}"; do
38 debug-print "$FUNCNAME: autopatch: patching from ${x}" 39 debug-print "$FUNCNAME: autopatch: patching from ${x}"
39 epatch ${x} 40 epatch "${x}"
40 done 41 done
42 else
43 for x in ${PATCHES} ${PATCHES1}; do
44 debug-print "$FUNCNAME: autopatch: patching from ${x}"
45 epatch "${x}"
46 done
47 fi
41 ;; 48 ;;
42 all) 49 all)
43 debug-print-section all 50 debug-print-section all
44 base_src_unpack unpack autopatch 51 base_src_unpack unpack autopatch
45 ;; 52 ;;

Legend:
Removed from v.1.32  
changed lines
  Added in v.1.33

  ViewVC Help
Powered by ViewVC 1.1.20