From 57a3ff49e18c424a7f5df6af76c28d7c902c7961 Mon Sep 17 00:00:00 2001 From: lth Date: Tue, 12 Oct 2004 21:43:01 +0000 Subject: - Fix for 'use warnings;' under Perl 5.005_03 PR: ports/72405 Submitted by: lth --- mail/p5-Email-MIME/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mail') diff --git a/mail/p5-Email-MIME/Makefile b/mail/p5-Email-MIME/Makefile index 475e227f26e3..d32b647551d4 100644 --- a/mail/p5-Email-MIME/Makefile +++ b/mail/p5-Email-MIME/Makefile @@ -7,6 +7,7 @@ PORTNAME= Email-MIME PORTVERSION= 1.8 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email @@ -35,6 +36,7 @@ RUN_DEPENDS+= ${SITE_PERL}/MIME/Words.pm:${PORTSDIR}/mail/p5-MIME-Tools .if ${PERL_LEVEL} <= 500503 post-patch: ${PERL} -pi -e '$$_ = "" if /require 5.006;/;' \ + -e '$$_ = "" if /use warnings/;' \ -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ ${WRKSRC}/MIME.pm .endif -- cgit