Date: Sat, 12 Apr 2003 10:19:03 +0200 (CEST) From: Erwin Lansing <erwin@lansing.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50846: fix build for perl 5.005_03 of finance/p5-Business-OnlinePayment-2CheckOut Message-ID: <20030412081903.3EDB2575B@backup-mx.droso.dk> Resent-Message-ID: <200304120820.h3C8KEF9035664@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 50846 >Category: ports >Synopsis: fix build for perl 5.005_03 of finance/p5-Business-OnlinePayment-2CheckOut >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Apr 12 01:20:13 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Erwin Lansing >Release: FreeBSD 4.8-STABLE i386 >Organization: pil.dk >Environment: System: FreeBSD panda.droso.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Sat Apr 5 16:37:20 CEST 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386 >Description: - fix build for perl 5.005_03 - add missing dirrm Noticed by: bento (kris) >How-To-Repeat: >Fix: --- p5-Business-OnlinePayment-2CheckOut.diff begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/finance/p5-Business-OnlinePayment-2CheckOut/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 4 Apr 2003 01:11:26 -0000 1.5 +++ Makefile 12 Apr 2003 08:19:23 -0000 @@ -2,7 +2,7 @@ # Date created: 24 October 2002 # Whom: Maxim Sobolev <sobomax@FreeBSD.org> # -# $FreeBSD$ +# $FreeBSD: ports/finance/p5-Business-OnlinePayment-2CheckOut/Makefile,v 1.5 2003/04/04 01:11:26 edwin Exp $ # PORTNAME= Business-OnlinePayment-2CheckOut @@ -23,5 +23,10 @@ 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> Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/finance/p5-Business-OnlinePayment-2CheckOut/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 25 Oct 2002 08:44:15 -0000 1.1 +++ pkg-plist 12 Apr 2003 08:19:23 -0000 @@ -3,3 +3,4 @@ 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 --- p5-Business-OnlinePayment-2CheckOut.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030412081903.3EDB2575B>