diff options
author | lth <lth@FreeBSD.org> | 2004-10-13 05:34:46 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2004-10-13 05:34:46 +0800 |
commit | cd1025a6eec8898110b2466c5781aea46bca6c43 (patch) | |
tree | 1947b97f902d70889cf289081ac3f369666bff94 | |
parent | 584e90992851d09ca4506de85bae919cd632e74a (diff) | |
download | freebsd-ports-graphics-cd1025a6eec8898110b2466c5781aea46bca6c43.tar.gz freebsd-ports-graphics-cd1025a6eec8898110b2466c5781aea46bca6c43.tar.zst freebsd-ports-graphics-cd1025a6eec8898110b2466c5781aea46bca6c43.zip |
- Fix for 'use warnings;' under Perl 5.005_03
PR: ports/72403
Noticed by: pointyhat
Submitted by: lth
-rw-r--r-- | mail/p5-Email-MIME-Attachment-Stripper/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/p5-Email-MIME-Attachment-Stripper/Makefile b/mail/p5-Email-MIME-Attachment-Stripper/Makefile index 6795c420117..16097d0a4b2 100644 --- a/mail/p5-Email-MIME-Attachment-Stripper/Makefile +++ b/mail/p5-Email-MIME-Attachment-Stripper/Makefile @@ -7,6 +7,7 @@ PORTNAME= Email-MIME-Attachment-Stripper PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email @@ -29,6 +30,10 @@ MAN3= Email::MIME::Attachment::Stripper.3 post-patch: ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ ${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm + ${PERL} -pi -e '$$_ = "" if (/use warnings/);' \ + ${WRKSRC}/Makefile.PL \ + ${WRKSRC}/t/01.t \ + ${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm .endif .include <bsd.port.post.mk> |