ports/91254: [PATCH] mail/p5-Mail-SPF-Query: update to 1.998
Yen-Ming Lee
leeym at FreeBSD.org
Tue Jan 3 04:20:06 UTC 2006
>Number: 91254
>Category: ports
>Synopsis: [PATCH] mail/p5-Mail-SPF-Query: update to 1.998
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 03 04:20:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 6.0-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Thu Nov 17 09:15:19 CST 2005
>Description:
- Update to 1.998
Port maintainer (mharo at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-Mail-SPF-Query-1.998.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/p5-Mail-SPF-Query/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile 29 Apr 2004 21:09:40 -0000 1.4
+++ Makefile 3 Jan 2006 04:14:01 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= Mail-SPF-Query
-PORTVERSION= 1.997
+PORTVERSION= 1.998
CATEGORIES= mail perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Mail
@@ -23,6 +23,18 @@
PERL_CONFIGURE= yes
+MAN1= spfd.1 spfquery.1
MAN3= Mail::SPF::Query.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ${PERL_LEVEL} < 500600
+ ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/lib/Mail/SPF/Query.pm
+ ${PERL} -pi -e '$$_="" if m{5.006|warnings|:print:}' ${WRKSRC}/Makefile.PL ${WRKSRC}/lib/Mail/SPF/Query.pm
+.endif
+.if ${PERL_LEVEL} < 500800
+ ${PERL} -pi -e 's/if \(.*\)/if \(0\)/ if m{IsAlnum}' ${WRKSRC}/Makefile.PL ${WRKSRC}/lib/Mail/SPF/Query.pm
+.endif
+
+.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/p5-Mail-SPF-Query/distinfo,v
retrieving revision 1.4
diff -u -u -r1.4 distinfo
--- distinfo 29 Apr 2004 21:09:40 -0000 1.4
+++ distinfo 3 Jan 2006 04:14:01 -0000
@@ -1,2 +1,3 @@
-MD5 (Mail-SPF-Query-1.997.tar.gz) = 9e110d00520e0fe174c25c0734a8baf6
-SIZE (Mail-SPF-Query-1.997.tar.gz) = 49645
+MD5 (Mail-SPF-Query-1.998.tar.gz) = 1491a114df2a28952d04c29f5b53d964
+SHA256 (Mail-SPF-Query-1.998.tar.gz) = b7638c05801ea29bb71d88bff3478bae70525a47f51fec2da35ce83c579b2366
+SIZE (Mail-SPF-Query-1.998.tar.gz) = 52684
--- p5-Mail-SPF-Query-1.998.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list