aboutsummaryrefslogtreecommitdiff
path: root/mail/p5-Email-MIME-Attachment-Stripper
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2004-10-12 21:34:46 +0000
committerLars Thegler <lth@FreeBSD.org>2004-10-12 21:34:46 +0000
commit094e5aece6e7f00927b149e310f8851f283aaa45 (patch)
tree870dfb0d2ef6b7cc69457a669014b96380d3d195 /mail/p5-Email-MIME-Attachment-Stripper
parentb55987c06c3762a9a5d6ae1096c2cdb40be1d1a1 (diff)
downloadports-094e5aece6e7f00927b149e310f8851f283aaa45.tar.gz
ports-094e5aece6e7f00927b149e310f8851f283aaa45.zip
Notes
Diffstat (limited to 'mail/p5-Email-MIME-Attachment-Stripper')
-rw-r--r--mail/p5-Email-MIME-Attachment-Stripper/Makefile5
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 6795c4201179..16097d0a4b2e 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>