diff options
author | Ulrich Müller <ulm@gentoo.org> | 2010-01-30 22:54:00 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2010-01-30 22:54:00 +0000 |
commit | 95478bddc82ec3d5dce4152dbced6e7d487265ce (patch) | |
tree | c4c1c0dd953f50eb7f8717ea2cb2bdca0fbf2228 /eclass/elisp.eclass | |
parent | Add prefix keywords, change EAPI to 3. (diff) | |
download | historical-95478bddc82ec3d5dce4152dbced6e7d487265ce.tar.gz historical-95478bddc82ec3d5dce4152dbced6e7d487265ce.tar.bz2 historical-95478bddc82ec3d5dce4152dbced6e7d487265ce.zip |
Look for patches in WORKDIR too.
Diffstat (limited to 'eclass/elisp.eclass')
-rw-r--r-- | eclass/elisp.eclass | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass index f53f0fb33b62..3238c559cf20 100644 --- a/eclass/elisp.eclass +++ b/eclass/elisp.eclass @@ -1,11 +1,11 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.43 2009/10/08 10:50:35 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp.eclass,v 1.44 2010/01/30 22:54:00 ulm Exp $ # # Copyright 2002-2003 Matthew Kennedy <mkennedy@gentoo.org> # Copyright 2003 Jeremy Maitin-Shepard <jbms@attbi.com> # Copyright 2007-2009 Christian Faulhammer <fauli@gentoo.org> -# Copyright 2007-2009 Ulrich Müller <ulm@gentoo.org> +# Copyright 2007-2010 Ulrich Müller <ulm@gentoo.org> # # @ECLASS: elisp.eclass # @MAINTAINER: @@ -98,6 +98,8 @@ elisp_src_prepare() { for patch in ${ELISP_PATCHES}; do if [ -f "${patch}" ]; then epatch "${patch}" + elif [ -f "${WORKDIR}/${patch}" ]; then + epatch "${WORKDIR}/${patch}" elif [ -f "${FILESDIR}/${patch}" ]; then epatch "${FILESDIR}/${patch}" else |