diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 10:36:46 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 10:36:46 +0000 |
commit | fcaeffa9bf79b206563ee98d178718881dbf0352 (patch) | |
tree | b728852bd5deaa625937a53f39b38185317deda7 /finance | |
parent | 951fc680a1c72269c5ac3eedf298138c76ec7e56 (diff) | |
download | ports-fcaeffa9bf79b206563ee98d178718881dbf0352.tar.gz ports-fcaeffa9bf79b206563ee98d178718881dbf0352.zip |
Notes
Diffstat (limited to 'finance')
-rw-r--r-- | finance/p5-Business-OnlinePayment-SurePay/Makefile | 6 | ||||
-rw-r--r-- | finance/p5-Business-OnlinePayment-SurePay/pkg-plist | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/finance/p5-Business-OnlinePayment-SurePay/Makefile b/finance/p5-Business-OnlinePayment-SurePay/Makefile index 8486e6ec0d73..47861c4f39ef 100644 --- a/finance/p5-Business-OnlinePayment-SurePay/Makefile +++ b/finance/p5-Business-OnlinePayment-SurePay/Makefile @@ -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> diff --git a/finance/p5-Business-OnlinePayment-SurePay/pkg-plist b/finance/p5-Business-OnlinePayment-SurePay/pkg-plist index e2ec45ae5931..112e1772d159 100644 --- a/finance/p5-Business-OnlinePayment-SurePay/pkg-plist +++ b/finance/p5-Business-OnlinePayment-SurePay/pkg-plist @@ -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 |