Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <20060904180924.43B205B@netnews.NCTU.edu.tw>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Gea-Suan Lin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] devel/p5-Class-Autouse: update to 1.27
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		update
>Release:	FreeBSD 6.1-RELEASE i386
>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 ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060904180924.43B205B>