diff options
author | edwin <edwin@FreeBSD.org> | 2003-04-13 18:37:59 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-04-13 18:37:59 +0800 |
commit | e5017932d67cb83fd69c8dcea2ce52f1e882c87a (patch) | |
tree | ca972d3dccae521d55690827c88107d0a0324724 /finance | |
parent | f783abd6b76f89353c8dc913d5e906b0f7cfbf31 (diff) | |
download | freebsd-ports-graphics-e5017932d67cb83fd69c8dcea2ce52f1e882c87a.tar.gz freebsd-ports-graphics-e5017932d67cb83fd69c8dcea2ce52f1e882c87a.tar.zst freebsd-ports-graphics-e5017932d67cb83fd69c8dcea2ce52f1e882c87a.zip |
fix build for perl 5.005_03 of finance/p5-Business-OnlinePayment-2CheckOut
PR: ports/50846
Submitted by: Erwin Lansing <erwin@lansing.dk>
Diffstat (limited to 'finance')
-rw-r--r-- | finance/p5-Business-OnlinePayment-2CheckOut/Makefile | 5 | ||||
-rw-r--r-- | finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/finance/p5-Business-OnlinePayment-2CheckOut/Makefile b/finance/p5-Business-OnlinePayment-2CheckOut/Makefile index fcfe665c414..8dbf3f83ea8 100644 --- a/finance/p5-Business-OnlinePayment-2CheckOut/Makefile +++ b/finance/p5-Business-OnlinePayment-2CheckOut/Makefile @@ -24,4 +24,9 @@ PERL_CONFIGURE= yes MAN3= Business::OnlinePayment::2CheckOut.3 +post-patch: + ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);$$1/;' \ + -e '$$_="" if /use 5/;' \ + ${WRKSRC}/2CheckOut.pm + .include <bsd.port.mk> diff --git a/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist b/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist index 5ed62a31be1..493ffa581b9 100644 --- a/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist +++ b/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist @@ -3,3 +3,4 @@ lib/perl5/site_perl/%%PERL_VER%%/auto/Business/OnlinePayment/2CheckOut/autosplit lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/OnlinePayment/2CheckOut/.packlist @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Business/OnlinePayment/2CheckOut @dirrm lib/perl5/site_perl/%%PERL_VER%%/auto/Business/OnlinePayment/2CheckOut +@unexec rmdir %D/%%SITE_PERL%%/Business/OnlinePayment 2>/dev/null || true |