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 | 58e1bda6b91e6e4c61b7af413651cbd45e50cb98 (patch) | |
tree | 28231daa3b2eaa5d9923add2e23b75819928d439 /eclass/elisp.eclass | |
parent | Add prefix keywords, change EAPI to 3. (diff) | |
download | gentoo-2-58e1bda6b91e6e4c61b7af413651cbd45e50cb98.tar.gz gentoo-2-58e1bda6b91e6e4c61b7af413651cbd45e50cb98.tar.bz2 gentoo-2-58e1bda6b91e6e4c61b7af413651cbd45e50cb98.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 |