diff options
Diffstat (limited to 'mail/p5-Email-LocalDelivery')
-rw-r--r-- | mail/p5-Email-LocalDelivery/Makefile | 21 | ||||
-rw-r--r-- | mail/p5-Email-LocalDelivery/distinfo | 6 | ||||
-rw-r--r-- | mail/p5-Email-LocalDelivery/files/5.005-LocalDelivery::Mbox.pm | 17 |
3 files changed, 6 insertions, 38 deletions
diff --git a/mail/p5-Email-LocalDelivery/Makefile b/mail/p5-Email-LocalDelivery/Makefile index 69a6022a7906..b1502d5f47cf 100644 --- a/mail/p5-Email-LocalDelivery/Makefile +++ b/mail/p5-Email-LocalDelivery/Makefile @@ -6,13 +6,13 @@ # PORTNAME= Email-LocalDelivery -PORTVERSION= 0.09 +PORTVERSION= 0.21 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email PKGNAMEPREFIX= p5- -MAINTAINER= lth@FreeBSD.org +MAINTAINER= perl@FreeBSD.org COMMENT= Deliver a piece of email - simply BUILD_DEPENDS= ${SITE_PERL}/Email/Simple.pm:${PORTSDIR}/mail/p5-Email-Simple \ @@ -24,19 +24,4 @@ PERL_CONFIGURE= yes MAN3= Email::LocalDelivery.3 -.include <bsd.port.pre.mk> - -.if ${PERL_LEVEL} < 500600 - -EXTRA_PATCHES= ${FILESDIR}/5.005-LocalDelivery::Mbox.pm - -post-patch: - @${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ - ${WRKSRC}/LocalDelivery.pm \ - ${WRKSRC}/LocalDelivery/Maildir.pm \ - ${WRKSRC}/LocalDelivery/Mbox.pm - @${RM} ${WRKSRC}/LocalDelivery/Mbox.pm.orig - -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/mail/p5-Email-LocalDelivery/distinfo b/mail/p5-Email-LocalDelivery/distinfo index 81f552db57b3..20d35574c8e2 100644 --- a/mail/p5-Email-LocalDelivery/distinfo +++ b/mail/p5-Email-LocalDelivery/distinfo @@ -1,3 +1,3 @@ -MD5 (Email-LocalDelivery-0.09.tar.gz) = 74cc1bbf18f036dace59b7bd9da869a2 -SHA256 (Email-LocalDelivery-0.09.tar.gz) = 587d057cc99760c9ac81b8a871f756f4521fe5ad8b568b24ae0236555ae6e0cb -SIZE (Email-LocalDelivery-0.09.tar.gz) = 4509 +MD5 (Email-LocalDelivery-0.21.tar.gz) = 687fcefdf7684b481d1401a04e32e375 +SHA256 (Email-LocalDelivery-0.21.tar.gz) = b6f07343ab3c6c7e91d0d7b7fb1f6ef170bf2eaf834dfd99795e26910d8b374b +SIZE (Email-LocalDelivery-0.21.tar.gz) = 4870 diff --git a/mail/p5-Email-LocalDelivery/files/5.005-LocalDelivery::Mbox.pm b/mail/p5-Email-LocalDelivery/files/5.005-LocalDelivery::Mbox.pm deleted file mode 100644 index 2030e3a708c7..000000000000 --- a/mail/p5-Email-LocalDelivery/files/5.005-LocalDelivery::Mbox.pm +++ /dev/null @@ -1,17 +0,0 @@ ---- LocalDelivery/Mbox.pm.orig Sun Dec 19 00:06:35 2004 -+++ LocalDelivery/Mbox.pm Sun Dec 19 00:09:40 2004 -@@ -26,10 +26,10 @@ - my $dir = dirname($file); - return if ! -d $dir and not mkpath($dir); - -- open my $fh, ">> $file" or return; -- $class->getlock($fh) || return; -- seek $fh, 0, 2; -- return $fh; -+ open FH, ">> $file" or return; -+ $class->getlock(\*FH) || return; -+ seek FH, 0, 2; -+ return \*FH; - } - - sub _close_fh { |