From gslin@netnews.NCTU.edu.tw  Mon Sep  4 18:10:53 2006
Return-Path: <gslin@netnews.NCTU.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 74B0716A5A1;
	Mon,  4 Sep 2006 18:10:53 +0000 (UTC)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A4CF643ED2;
	Mon,  4 Sep 2006 18:10:03 +0000 (GMT)
	(envelope-from gslin@netnews.NCTU.edu.tw)
Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000)
	id 43B205B; Tue,  5 Sep 2006 02:09:24 +0800 (CST)
Message-Id: <20060904180924.43B205B@netnews.NCTU.edu.tw>
Date: Tue,  5 Sep 2006 02:09:24 +0800 (CST)
From: Gea-Suan Lin <gslin@gslin.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: perl@FreeBSD.org, gslin@gslin.org
Subject: [PATCH] devel/p5-Class-Autouse: update to 1.27
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         102860
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Class-Autouse: update to 1.27
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    perl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 04 18:20:21 GMT 2006
>Closed-Date:    Wed Sep 06 00:37:38 GMT 2006
>Last-Modified:  Wed Sep 06 00:37:38 GMT 2006
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 1.27
- File::Spec 0.80 is in Perl 5.6.0 and newer
- List::Util 1.17 is in Perl 5.8.8 and newer

Port maintainer (perl@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Class-Autouse-1.27.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-Class-Autouse/Makefile /home/staff/gslin/work/p5-Class-Autouse/Makefile
--- /usr/ports/devel/p5-Class-Autouse/Makefile	Wed Apr 19 17:27:28 2006
+++ /home/staff/gslin/work/p5-Class-Autouse/Makefile	Tue Sep  5 02:07:54 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	Class-Autouse
-PORTVERSION=	1.26
+PORTVERSION=	1.27
 CATEGORIES=	devel perl5
 MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
 MASTER_SITE_SUBDIR=	Class
@@ -15,10 +15,8 @@
 MAINTAINER=	perl@FreeBSD.org
 COMMENT=	Defer loading of one or more classes
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/List/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \
-		${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
-		${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	${SITE_PERL}/prefork.pm:${PORTSDIR}/devel/p5-prefork
+BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
@@ -31,6 +29,10 @@
 
 .if ${PERL_LEVEL} < 500600
 IGNORE=		requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.if ${PERL_LEVEL} < 500808
+RUN_DEPENDS+=	p5-Scalar-List-Utils>=1.17:${PORTSDIR}/lang/p5-Scalar-List-Utils
 .endif
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/p5-Class-Autouse/distinfo /home/staff/gslin/work/p5-Class-Autouse/distinfo
--- /usr/ports/devel/p5-Class-Autouse/distinfo	Wed Apr 19 17:27:28 2006
+++ /home/staff/gslin/work/p5-Class-Autouse/distinfo	Tue Sep  5 02:02:38 2006
@@ -1,3 +1,3 @@
-MD5 (Class-Autouse-1.26.tar.gz) = 27d185332ff7fc18477d115802b057b2
-SHA256 (Class-Autouse-1.26.tar.gz) = 5b76f86b90283b770fef1a4d20f06067d024a8deba20ccf3fecc21a85266d156
-SIZE (Class-Autouse-1.26.tar.gz) = 41162
+MD5 (Class-Autouse-1.27.tar.gz) = f6b69cae6db84d6c1728384e6e7bd281
+SHA256 (Class-Autouse-1.27.tar.gz) = 6c1fe94c9957e9b9295dceac52f0ea81f072f393550443f584d7df9c932e2843
+SIZE (Class-Autouse-1.27.tar.gz) = 33429
--- p5-Class-Autouse-1.27.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 4 18:20:34 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102860 
State-Changed-From-To: open->closed 
State-Changed-By: clsung 
State-Changed-When: Wed Sep 6 00:37:25 UTC 2006 
State-Changed-Why:  
Already updated by leeym@. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=102860 
>Unformatted:
