diff options
author | Lars Thegler <lth@FreeBSD.org> | 2004-10-12 21:43:01 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2004-10-12 21:43:01 +0000 |
commit | 1755569bd93523f95971606d9a98b07aebf7a254 (patch) | |
tree | 1735823248e61c12c1317e3dd1fc1d0879709aba /mail/p5-Email-MIME | |
parent | 094e5aece6e7f00927b149e310f8851f283aaa45 (diff) |
- Fix for 'use warnings;' under Perl 5.005_03
PR: ports/72405
Submitted by: lth
Notes
Notes:
svn path=/head/; revision=119105
Diffstat (limited to 'mail/p5-Email-MIME')
-rw-r--r-- | mail/p5-Email-MIME/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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 |