summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-05-13 17:48:20 +0000
committerFabian Groffen <grobian@gentoo.org>2011-05-13 17:48:20 +0000
commite353376b6170a45a7f89e9411ef8fb962d4be355 (patch)
tree7b5bebc450b74bac3981b14fb0088680e479ad8b
parentMask net-irc/oer and net-irc/oer-mysql for removal due to no more support fro... (diff)
downloadgentoo-2-e353376b6170a45a7f89e9411ef8fb962d4be355.tar.gz
gentoo-2-e353376b6170a45a7f89e9411ef8fb962d4be355.tar.bz2
gentoo-2-e353376b6170a45a7f89e9411ef8fb962d4be355.zip
Fix patching when USE=-dsn
(Portage version: 2.2.01.18252-prefix/cvs/Darwin powerpc)
-rw-r--r--mail-mta/exim/ChangeLog5
-rw-r--r--mail-mta/exim/exim-4.76.ebuild10
2 files changed, 10 insertions, 5 deletions
diff --git a/mail-mta/exim/ChangeLog b/mail-mta/exim/ChangeLog
index 05bdbe9eb42a..2d1b01eb0cd0 100644
--- a/mail-mta/exim/ChangeLog
+++ b/mail-mta/exim/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/exim
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.196 2011/05/12 18:15:50 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/ChangeLog,v 1.197 2011/05/13 17:48:20 grobian Exp $
+
+ 13 May 2011; Fabian Groffen <grobian@gentoo.org> exim-4.76.ebuild:
+ Fix patching when USE=-dsn
12 May 2011; Fabian Groffen <grobian@gentoo.org> exim-4.76.ebuild,
+files/exim-4.76-dsn.patch:
diff --git a/mail-mta/exim/exim-4.76.ebuild b/mail-mta/exim/exim-4.76.ebuild
index 8a0d0f08d8d9..550bbe4ff552 100644
--- a/mail-mta/exim/exim-4.76.ebuild
+++ b/mail-mta/exim/exim-4.76.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.76.ebuild,v 1.3 2011/05/12 18:15:50 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/exim/exim-4.76.ebuild,v 1.4 2011/05/13 17:48:20 grobian Exp $
EAPI="3"
@@ -76,9 +76,11 @@ src_prepare() {
use maildir && epatch "${FILESDIR}"/exim-4.20-maildir.patch
- cp "${DISTDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch . || die
- epatch "${FILESDIR}"/${P}-dsn.patch
- use dsn && epatch exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch
+ if use dsn ; then
+ cp "${DISTDIR}"/exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch . || die
+ epatch "${FILESDIR}"/${P}-dsn.patch
+ epatch exim_${DSN_EXIM_V}_dsn_${DSN_V}.patch
+ fi
}
src_configure() {