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

Diff of /eclass/elisp.eclass

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

Revision 1.43 Revision 1.44
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2010 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/elisp.eclass,v 1.43 2009/10/08 10:50:35 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.44 2010/01/30 22:54:00 ulm Exp $
4# 4#
5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> 5# Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org>
6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> 6# Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com>
7# Copyright 2007-2009 Christian Faulhammer <fauli@gentoo.org> 7# Copyright 2007-2009 Christian Faulhammer <fauli@gentoo.org>
8# Copyright 2007-2009 Ulrich Müller <ulm@gentoo.org> 8# Copyright 2007-2010 Ulrich Müller <ulm@gentoo.org>
9# 9#
10# @ECLASS: elisp.eclass 10# @ECLASS: elisp.eclass
11# @MAINTAINER: 11# @MAINTAINER:
12# Feel free to contact the Emacs team through <emacs@gentoo.org> if you 12# Feel free to contact the Emacs team through <emacs@gentoo.org> if you
13# have problems, suggestions or questions. 13# have problems, suggestions or questions.
96elisp_src_prepare() { 96elisp_src_prepare() {
97 local patch 97 local patch
98 for patch in ${ELISP_PATCHES}; do 98 for patch in ${ELISP_PATCHES}; do
99 if [ -f "${patch}" ]; then 99 if [ -f "${patch}" ]; then
100 epatch "${patch}" 100 epatch "${patch}"
101 elif [ -f "${WORKDIR}/${patch}" ]; then
102 epatch "${WORKDIR}/${patch}"
101 elif [ -f "${FILESDIR}/${patch}" ]; then 103 elif [ -f "${FILESDIR}/${patch}" ]; then
102 epatch "${FILESDIR}/${patch}" 104 epatch "${FILESDIR}/${patch}"
103 else 105 else
104 die "Cannot find ${patch}" 106 die "Cannot find ${patch}"
105 fi 107 fi

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20