fix build on perl 5.005_03 for finance/p5-Business-OnlinePayment-SurePay
PR: ports/50849 Submitted by: Erwin Lansing <erwin@lansing.dk>
This commit is contained in:
parent
951fc680a1
commit
fcaeffa9bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78861
2 changed files with 7 additions and 0 deletions
|
@ -23,4 +23,10 @@ PERL_CONFIGURE= yes
|
|||
|
||||
MAN3= Business::OnlinePayment::SurePay.3
|
||||
|
||||
post-patch:
|
||||
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \
|
||||
-e '$$_="" if /use 5/;' \
|
||||
-e '$$_="" if /use warnings/;' \
|
||||
${WRKSRC}/SurePay.pm
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
lib/perl5/site_perl/%%PERL_VER%%/Business/OnlinePayment/SurePay.pm
|
||||
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/OnlinePayment/SurePay/.packlist
|
||||
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/OnlinePayment/SurePay
|
||||
@unexec rmdir %D/%%SITE_PERL%%/Business/OnlinePayment 2>/dev/null || true
|
||||
|
|
Loading…
Reference in a new issue