diff options
Diffstat (limited to 'net-mail/grepmail/grepmail-5.30.33-r2.ebuild')
-rw-r--r-- | net-mail/grepmail/grepmail-5.30.33-r2.ebuild | 31 |
1 files changed, 22 insertions, 9 deletions
diff --git a/net-mail/grepmail/grepmail-5.30.33-r2.ebuild b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild index 8944fb7b6384..b029483a2241 100644 --- a/net-mail/grepmail/grepmail-5.30.33-r2.ebuild +++ b/net-mail/grepmail/grepmail-5.30.33-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit versionator perl-module @@ -15,16 +15,29 @@ SRC_URI="mirror://sourceforge/grepmail/${MY_P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ppc x86" -IUSE="" +IUSE="test" -RDEPEND="dev-perl/Inline +RDEPEND=" + dev-perl/Inline dev-perl/TimeDate dev-perl/Date-Manip virtual/perl-Digest-MD5 - >=dev-perl/Mail-Mbox-MessageParser-1.40.01" -DEPEND="${RDEPEND}" + >=dev-perl/Mail-Mbox-MessageParser-1.40.01 +" +DEPEND="${RDEPEND} +" +# test? ( dev-perl/Mail-Mbox-MessageParser ) # 100% failure on running -SRC_TEST="skip" -PATCHES=( "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch - "${FILESDIR}"/5.30.33-midnight.patch ) +DIST_TEST="skip" + +PATCHES=( + "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch + "${FILESDIR}"/5.30.33-midnight.patch +) + +src_prepare() { + sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL || + die "Can't patch Makefile.PL for 5.26 dot-in-inc" + perl-module_src_prepare +} |