diff options
Diffstat (limited to 'mail/p5-Mail-Box')
-rw-r--r-- | mail/p5-Mail-Box/Makefile | 5 | ||||
-rw-r--r-- | mail/p5-Mail-Box/distinfo | 10 | ||||
-rw-r--r-- | mail/p5-Mail-Box/patches/patch-aa | 14 |
3 files changed, 16 insertions, 13 deletions
diff --git a/mail/p5-Mail-Box/Makefile b/mail/p5-Mail-Box/Makefile index 377a4b4166a..518fbb98292 100644 --- a/mail/p5-Mail-Box/Makefile +++ b/mail/p5-Mail-Box/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.10 2008/11/15 13:53:27 adrianp Exp $ +# $NetBSD: Makefile,v 1.11 2009/01/04 20:11:45 adrianp Exp $ -DISTNAME= Mail-Box-2.084 +DISTNAME= Mail-Box-2.086 PKGNAME= p5-${DISTNAME} CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/} @@ -9,6 +9,7 @@ MAINTAINER= adrianp@NetBSD.org HOMEPAGE= http://perl.overmeer.net/mailbox/ COMMENT= Set of packages which implement methods to handle e-mail +DEPENDS+= p5-Encode>=2.26:../../textproc/p5-Encode DEPENDS+= p5-TimeDate-[0-9]*:../../time/p5-TimeDate DEPENDS+= p5-IO-stringy-[0-9]*:../../devel/p5-IO-stringy DEPENDS+= p5-Scalar-List-Utils>=1.13:../../devel/p5-Scalar-List-Utils diff --git a/mail/p5-Mail-Box/distinfo b/mail/p5-Mail-Box/distinfo index c1b9abd57db..6e8f8afeebf 100644 --- a/mail/p5-Mail-Box/distinfo +++ b/mail/p5-Mail-Box/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.5 2008/11/15 13:53:27 adrianp Exp $ +$NetBSD: distinfo,v 1.6 2009/01/04 20:11:45 adrianp Exp $ -SHA1 (Mail-Box-2.084.tar.gz) = 4b80c16de0e91e8bdf5c9d58f66aeefc1bcd3b67 -RMD160 (Mail-Box-2.084.tar.gz) = 0ffc6129d7606258d5a3a231403aa99dba7190ed -Size (Mail-Box-2.084.tar.gz) = 598951 bytes -SHA1 (patch-aa) = 63cfb55fb8b76b544d5b226251a8e1639ffa7c58 +SHA1 (Mail-Box-2.086.tar.gz) = 1c40ef8f726f157a7506762f7d33dcdb1e8831be +RMD160 (Mail-Box-2.086.tar.gz) = d56543abab3cc2bb1e48e78b013374562e80e6c4 +Size (Mail-Box-2.086.tar.gz) = 598922 bytes +SHA1 (patch-aa) = ca07d344e1e4bf621bb9a87cd019fd3b686c9d7a diff --git a/mail/p5-Mail-Box/patches/patch-aa b/mail/p5-Mail-Box/patches/patch-aa index faaf1fe7a1f..20329962a25 100644 --- a/mail/p5-Mail-Box/patches/patch-aa +++ b/mail/p5-Mail-Box/patches/patch-aa @@ -1,8 +1,8 @@ -$NetBSD: patch-aa,v 1.4 2008/06/16 10:50:15 adrianp Exp $ +$NetBSD: patch-aa,v 1.5 2009/01/04 20:11:45 adrianp Exp $ ---- Makefile.PL.orig 2008-04-28 08:30:56.000000000 +0100 +--- Makefile.PL.orig 2008-12-11 11:05:40.000000000 +0000 +++ Makefile.PL -@@ -159,88 +159,8 @@ FIX +@@ -155,90 +155,8 @@ FIX exit 1; } @@ -14,7 +14,7 @@ $NetBSD: patch-aa,v 1.4 2008/06/16 10:50:15 adrianp Exp $ -* -OPTIONAL - --foreach my $optional (@optional) +-foreach my $optional (sort {$a->[0] cmp $b->[0]} @optional) -{ my ($module, $version, %args) = @$optional; - my $requirements = $args{requires} || sub {1}; - next unless $requirements->(); @@ -39,8 +39,10 @@ $NetBSD: patch-aa,v 1.4 2008/06/16 10:50:15 adrianp Exp $ - else { print "**** Optional $module compilation failed:\n$@\n" } - } - elsif(eval '$module->VERSION($version)' && $@) -- { print "**** Optional $module too old: requires $version but is ", -- $module->VERSION,";$@\n"; +- { my $error = $@ || ''; +- $error =~ s/[\r\n]+$//; +- print "**** Optional $module too old: requires $version but is ", +- $module->VERSION,";$error\n"; - } - else - { my $v = $module->VERSION; |