Date: Wed, 6 Oct 2004 23:08:12 +0200 (CEST) From: Lars Thegler <lth@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72403: [MAINTAINER] mail/p5-Email-MIME-Attachment-Stripper: fix for Perl 5.005_03 Message-ID: <20041006210812.43B4B3F00@dask.thegler.dk> Resent-Message-ID: <200410062110.i96LAVop008139@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72403 >Category: ports >Synopsis: [MAINTAINER] mail/p5-Email-MIME-Attachment-Stripper: fix for Perl 5.005_03 >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: Wed Oct 06 21:10:31 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Lars Thegler >Release: FreeBSD 4.10-BETA i386 >Organization: >Environment: System: FreeBSD dask.thegler.dk 4.10-BETA FreeBSD 4.10-BETA #3: Mon Apr 12 17:02:50 CEST 2004 >Description: - Fix for 'use warnings;' under Perl 5.005_03 Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Email-MIME-Attachment-Stripper-1.3_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/mail/p5-Email-MIME-Attachment-Stripper/Makefile,v retrieving revision 1.1 diff -u -u -r1.1 Makefile --- Makefile 29 Aug 2004 22:47:35 -0000 1.1 +++ Makefile 6 Oct 2004 21:06:06 -0000 @@ -7,6 +7,7 @@ PORTNAME= Email-MIME-Attachment-Stripper PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= mail perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Email @@ -28,6 +29,10 @@ .if ${PERL_LEVEL} <= 500503 post-patch: ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \ + ${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm + ${PERL} -pi -e '$$_ = "" if (/use warnings/);' \ + ${WRKSRC}/Makefile.PL \ + ${WRKSRC}/t/01.t \ ${WRKSRC}/lib/Email/MIME/Attachment/Stripper.pm .endif --- p5-Email-MIME-Attachment-Stripper-1.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041006210812.43B4B3F00>