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

Diff of /eclass/eutils.eclass

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

Revision 1.315 Revision 1.317
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 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/eutils.eclass,v 1.315 2009/02/21 23:28:21 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/eutils.eclass,v 1.317 2009/03/01 08:06:00 vapier Exp $
4 4
5# @ECLASS: eutils.eclass 5# @ECLASS: eutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# base-system@gentoo.org 7# base-system@gentoo.org
8# @BLURB: many extra (but common) functions that are used in ebuilds 8# @BLURB: many extra (but common) functions that are used in ebuilds
183 183
184 local EPATCH_SOURCE="${EPATCH_SOURCE}/*.${EPATCH_SUFFIX}" 184 local EPATCH_SOURCE="${EPATCH_SOURCE}/*.${EPATCH_SUFFIX}"
185 fi 185 fi
186 186
187 case ${EPATCH_SUFFIX##*\.} in 187 case ${EPATCH_SUFFIX##*\.} in
188 xz)
189 PIPE_CMD="xz -dc"
190 PATCH_SUFFIX="xz"
191 ;;
188 lzma) 192 lzma)
189 PIPE_CMD="lzma -dc" 193 PIPE_CMD="lzma -dc"
190 PATCH_SUFFIX="lzma" 194 PATCH_SUFFIX="lzma"
191 ;; 195 ;;
192 bz2) 196 bz2)
1614 else 1618 else
1615 nols="${nols} ${f}" 1619 nols="${nols} ${f}"
1616 fi 1620 fi
1617 done 1621 done
1618 [[ -n ${nols} ]] \ 1622 [[ -n ${nols} ]] \
1619 && ewarn "Sorry, but ${PN} does not support the LINGUAs:" ${nols} 1623 && ewarn "Sorry, but ${PN} does not support the LINGUAS:" ${nols}
1620 export LINGUAS=${newls:1} 1624 export LINGUAS=${newls:1}
1621} 1625}
1622 1626
1623# @FUNCTION: preserve_old_lib 1627# @FUNCTION: preserve_old_lib
1624# @USAGE: <libs to preserve> [more libs] 1628# @USAGE: <libs to preserve> [more libs]

Legend:
Removed from v.1.315  
changed lines
  Added in v.1.317

  ViewVC Help
Powered by ViewVC 1.1.20