ports/72405: [MAINTAINER] mail/p5-Email-MIME: fix for Perl 5.005_03
Lars Thegler
lth at FreeBSD.org
Wed Oct 6 21:40:23 UTC 2004
>Number: 72405
>Category: ports
>Synopsis: [MAINTAINER] mail/p5-Email-MIME: 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:40:23 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-1.8_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/p5-Email-MIME/Makefile,v
retrieving revision 1.1
diff -u -u -r1.1 Makefile
--- Makefile 29 Aug 2004 16:17:22 -0000 1.1
+++ Makefile 6 Oct 2004 21:34:39 -0000
@@ -7,6 +7,7 @@
PORTNAME= Email-MIME
PORTVERSION= 1.8
+PORTREVISION= 1
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Email
@@ -35,6 +36,7 @@
.if ${PERL_LEVEL} <= 500503
post-patch:
${PERL} -pi -e '$$_ = "" if /require 5.006;/;' \
+ -e '$$_ = "" if /use warnings/;' \
-e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' \
${WRKSRC}/MIME.pm
.endif
--- p5-Email-MIME-1.8_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list