From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 12 01:40:11 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB1B537B405 for ; Sat, 12 Apr 2003 01:40:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1707243FE9 for ; Sat, 12 Apr 2003 01:40:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h3C8e8Up041435 for ; Sat, 12 Apr 2003 01:40:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h3C8e8rM041434; Sat, 12 Apr 2003 01:40:08 -0700 (PDT) Resent-Date: Sat, 12 Apr 2003 01:40:08 -0700 (PDT) Resent-Message-Id: <200304120840.h3C8e8rM041434@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Erwin Lansing Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 54D3F37B404 for ; Sat, 12 Apr 2003 01:34:42 -0700 (PDT) Received: from backup-mx.droso.dk (backup-mx.droso.dk [62.79.38.251]) by mx1.FreeBSD.org (Postfix) with ESMTP id B163B43FA3 for ; Sat, 12 Apr 2003 01:34:41 -0700 (PDT) (envelope-from erwin@backup-mx.droso.dk) Received: by backup-mx.droso.dk (Postfix, from userid 1000) id 85385575B; Sat, 12 Apr 2003 10:34:40 +0200 (CEST) Message-Id: <20030412083440.85385575B@backup-mx.droso.dk> Date: Sat, 12 Apr 2003 10:34:40 +0200 (CEST) From: Erwin Lansing To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50849: fix build on perl 5.005_03 for finance/p5-Business-OnlinePayment-SurePay X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Erwin Lansing List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 08:40:12 -0000 >Number: 50849 >Category: ports >Synopsis: fix build on perl 5.005_03 for finance/p5-Business-OnlinePayment-SurePay >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:40:08 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: apply follwing patch and add http://panda.droso.net/~erwin/patch-SurePay.pm to files/ Index: Makefile =================================================================== RCS file: /home/ncvs/ports/finance/p5-Business-OnlinePayment-SurePay/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 4 Apr 2003 01:11:27 -0000 1.5 +++ Makefile 12 Apr 2003 08:34:30 -0000 @@ -2,7 +2,7 @@ # Date created: 24 October 2002 # Whom: Maxim Sobolev # -# $FreeBSD$ +# $FreeBSD: ports/finance/p5-Business-OnlinePayment-SurePay/Makefile,v 1.5 2003/04/04 01:11:27 edwin Exp $ # PORTNAME= Business-OnlinePayment-SurePay @@ -22,5 +22,11 @@ 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 Index: pkg-plist =================================================================== RCS file: /home/ncvs/ports/finance/p5-Business-OnlinePayment-SurePay/pkg-plist,v retrieving revision 1.1 diff -u -r1.1 pkg-plist --- pkg-plist 25 Oct 2002 08:54:21 -0000 1.1 +++ pkg-plist 12 Apr 2003 08:34:30 -0000 @@ -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 >Release-Note: >Audit-Trail: >Unformatted: