aboutsummaryrefslogtreecommitdiff
path: root/finance
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-04-13 10:37:59 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-04-13 10:37:59 +0000
commit29b1b503dba1338f2cfb0af561c0d77dd965c520 (patch)
treeb56860e6579940aa072de5d062722e4f30df0731 /finance
parent326fa0d030243afa48e8024f02388ae68d938143 (diff)
downloadports-29b1b503dba1338f2cfb0af561c0d77dd965c520.tar.gz
ports-29b1b503dba1338f2cfb0af561c0d77dd965c520.zip
Notes
Diffstat (limited to 'finance')
-rw-r--r--finance/p5-Business-OnlinePayment-2CheckOut/Makefile5
-rw-r--r--finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist1
2 files changed, 6 insertions, 0 deletions
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 <bsd.port.mk>
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