From e5017932d67cb83fd69c8dcea2ce52f1e882c87a Mon Sep 17 00:00:00 2001 From: edwin Date: Sun, 13 Apr 2003 10:37:59 +0000 Subject: fix build for perl 5.005_03 of finance/p5-Business-OnlinePayment-2CheckOut PR: ports/50846 Submitted by: Erwin Lansing --- finance/p5-Business-OnlinePayment-2CheckOut/Makefile | 5 +++++ finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist | 1 + 2 files changed, 6 insertions(+) diff --git a/finance/p5-Business-OnlinePayment-2CheckOut/Makefile b/finance/p5-Business-OnlinePayment-2CheckOut/Makefile index fcfe665c414f..8dbf3f83ea86 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 diff --git a/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist b/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist index 5ed62a31be16..493ffa581b9a 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 -- cgit