summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2012-03-13 13:17:27 +0000
committerJoshua Kinard <kumba@gentoo.org>2012-03-13 13:17:27 +0000
commitd03edf591ab978328d84d17404756153ff707c21 (patch)
treecdb47f797fab77c30517477edcb77209cb1c820c /dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild
parentMarking libcap-ng-0.6.6 ppc for bug 407773 (diff)
downloadgentoo-2-d03edf591ab978328d84d17404756153ff707c21.tar.gz
gentoo-2-d03edf591ab978328d84d17404756153ff707c21.tar.bz2
gentoo-2-d03edf591ab978328d84d17404756153ff707c21.zip
The 1.5.2 patch does not apply to 1.8.3 any further. Added a tweaked version that does apply to 1.8.3 to prevent this ebuild from failing. Closes #407969. Also changed src_unpack to src_prepare for EAPI4.
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild')
-rw-r--r--dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild
index 630c557bb934..fc8b58d6ecab 100644
--- a/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild
+++ b/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild,v 1.1 2012/03/12 09:48:42 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-Mail_Mime/PEAR-Mail_Mime-1.8.3.ebuild,v 1.2 2012/03/13 13:17:27 kumba Exp $
EAPI="4"
@@ -15,10 +15,7 @@ IUSE=""
PDEPEND="dev-php/PEAR-Mail_mimeDecode"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
# see Bug 125451; http://pear.php.net/bugs/bug.php?id=5333
- epatch "${FILESDIR}"/1.5.2-php-pass-by-reference-fix.patch
+ epatch "${FILESDIR}"/${PV}-php-pass-by-reference-fix.patch
}