Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# $NetBSD: Makefile,v 1.19 2013/05/31 12:41:18 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.21 2013/12/27 12:47:07 is Exp $
|
||||
|
||||
DISTNAME= Mail-Box-2.102
|
||||
PKGNAME= p5-${DISTNAME}
|
||||
PKGREVISION= 2
|
||||
PKGREVISION= 4
|
||||
CATEGORIES= mail perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Mail/}
|
||||
|
||||
@@ -11,7 +11,7 @@ HOMEPAGE= http://perl.overmeer.net/mailbox/
|
||||
COMMENT= Set of packages which implement methods to handle e-mail
|
||||
LICENSE= ${PERL5_LICENSE}
|
||||
|
||||
DEPENDS+= p5-Encode>=2.26:../../textproc/p5-Encode
|
||||
DEPENDS+= {perl>=5.8.9,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+= {perl>=5.10,p5-Scalar-List-Utils>=1.13}:../../devel/p5-Scalar-List-Utils
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
$NetBSD: distinfo,v 1.7 2012/02/11 03:21:35 hiramatsu Exp $
|
||||
$NetBSD: distinfo,v 1.8 2013/12/27 12:47:07 is Exp $
|
||||
|
||||
SHA1 (Mail-Box-2.102.tar.gz) = 28820bf3edf7d8175f53e318714c8066e1a80a73
|
||||
RMD160 (Mail-Box-2.102.tar.gz) = abc9bf4dedc47b75f458a0636e6f1b57bd45d0e3
|
||||
Size (Mail-Box-2.102.tar.gz) = 612927 bytes
|
||||
SHA1 (patch-aa) = 91a9f9f42bf25df5dcaf27ffb0ce0ba5b0caefc4
|
||||
SHA1 (patch-lib_Message_Field.pm) = 838887204aa394b43a3ceaab9b399adbb55a540b
|
||||
|
||||
13
mail/p5-Mail-Box/patches/patch-lib_Message_Field.pm
Normal file
13
mail/p5-Mail-Box/patches/patch-lib_Message_Field.pm
Normal file
@@ -0,0 +1,13 @@
|
||||
$NetBSD: patch-lib_Message_Field.pm,v 1.1 2013/12/27 12:47:07 is Exp $
|
||||
|
||||
--- lib/Mail/Message/Field.pm.orig 2012-01-04 08:35:33.000000000 +0000
|
||||
+++ lib/Mail/Message/Field.pm
|
||||
@@ -22,7 +22,7 @@ my $default_wrap_length = 78;
|
||||
|
||||
use overload
|
||||
qq("") => sub { $_[0]->unfoldedBody }
|
||||
- , '+0' => sub { $_[0]->toInt || 0 }
|
||||
+ , '0+' => sub { $_[0]->toInt || 0 }
|
||||
, bool => sub {1}
|
||||
, cmp => sub { $_[0]->unfoldedBody cmp "$_[1]" }
|
||||
, '<=>' => sub { $_[2] ? $_[1] <=> $_[0]->toInt : $_[0]->toInt <=> $_[1] }
|
||||
Reference in New Issue
Block a user