diff options
author | lth <lth@FreeBSD.org> | 2004-10-13 05:43:01 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-10-13 05:43:01 +0800 |
commit | 57a3ff49e18c424a7f5df6af76c28d7c902c7961 (patch) | |
tree | 85b0ed19992be9b248e5f5e1af987463d562695a /mail | |
parent | cd1025a6eec8898110b2466c5781aea46bca6c43 (diff) | |
download | freebsd-ports-gnome-57a3ff49e18c424a7f5df6af76c28d7c902c7961.tar.gz freebsd-ports-gnome-57a3ff49e18c424a7f5df6af76c28d7c902c7961.tar.zst freebsd-ports-gnome-57a3ff49e18c424a7f5df6af76c28d7c902c7961.zip |
- Fix for 'use warnings;' under Perl 5.005_03
PR: ports/72405
Submitted by: lth
Diffstat (limited to 'mail')
-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 |