- Fix for 'use warnings;' under Perl 5.005_03
PR: ports/72403 Noticed by: pointyhat Submitted by: lth
This commit is contained in:
parent
b55987c06c
commit
094e5aece6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=119104
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user