ports/102860: [PATCH] devel/p5-Class-Autouse: update to 1.27

Gea-Suan Lin gslin at gslin.org
Mon Sep 4 18:20:29 UTC 2006


>Number:         102860
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Class-Autouse: update to 1.27
>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:   Mon Sep 04 18:20:21 GMT 2006
>Closed-Date:
>Last-Modified:
>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 at 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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list