Date: Sat, 15 Jul 2006 18:59:05 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: infofarmer@FreeBSD.org, gslin@gslin.org Subject: ports/100337: [PATCH] devel/p5-Class-Std: reduce dependencies Message-ID: <20060715105905.79CE257B@netnews.NCTU.edu.tw> Resent-Message-ID: <200607151100.k6FB0VZ1006867@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100337 >Category: ports >Synopsis: [PATCH] devel/p5-Class-Std: reduce dependencies >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jul 15 11:00:31 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: - Data::Dumper and Test::More is in perl base. - Scalar::Util is in perl base 5.7.2 and later versions. Port maintainer (infofarmer@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Class-Std-0.0.8_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/p5-Class-Std/Makefile /home/staff/gslin/work/p5-Class-Std/Makefile --- /usr/ports/devel/p5-Class-Std/Makefile Sat Jul 15 18:57:02 2006 +++ /home/staff/gslin/work/p5-Class-Std/Makefile Sat Jul 15 18:57:23 2006 @@ -8,6 +8,7 @@ PORTNAME= Class-Std DISTVERSIONPREFIX= v DISTVERSION= 0.0.8 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class @@ -16,10 +17,7 @@ MAINTAINER= infofarmer@FreeBSD.org COMMENT= Support for creating standard "inside-out" classes -BUILD_DEPENDS= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ - ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version \ - ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils \ - ${SITE_PERL}/${PERL_ARCH}/Data/Dumper.pm:${PORTSDIR}/devel/p5-Data-Dumper +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/version.pm:${PORTSDIR}/devel/p5-version RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= YES @@ -30,6 +28,10 @@ .if ${PERL_LEVEL} < 500600 IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.if ${PERL_LEVEL} < 500702 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils .endif .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/devel/p5-Class-Std/pkg-plist /home/staff/gslin/work/p5-Class-Std/pkg-plist --- /usr/ports/devel/p5-Class-Std/pkg-plist Sat Jul 15 18:57:02 2006 +++ /home/staff/gslin/work/p5-Class-Std/pkg-plist Sat Jul 15 17:33:31 2006 @@ -1,5 +1,6 @@ -%%SITE_PERL%%/Class/Std.pm +@comment $FreeBSD$ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std/.packlist -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std +%%SITE_PERL%%/Class/Std.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class/Std @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Class @dirrmtry %%SITE_PERL%%/Class --- p5-Class-Std-0.0.8_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060715105905.79CE257B>