Date: Fri, 28 Jul 2006 10:09:04 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org, skv@FreeBSD.org Subject: ports/100955: [PATCH] devel/p5-POE: Reduce dependencies Message-ID: <20060728020904.581FF73@netnews.NCTU.edu.tw> Resent-Message-ID: <200607280210.k6S2ADBW005368@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100955 >Category: ports >Synopsis: [PATCH] devel/p5-POE: 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: Fri Jul 28 02:10:13 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: - Check ${PERL_LEVEL} to reduce dependencies. Port maintainer (skv@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-POE-0.3502_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/p5-POE/Makefile /home/staff/gslin/work/p5-POE/Makefile --- /usr/ports/devel/p5-POE/Makefile Tue Jun 20 03:16:28 2006 +++ /home/staff/gslin/work/p5-POE/Makefile Fri Jul 28 10:06:09 2006 @@ -7,6 +7,7 @@ PORTNAME= POE PORTVERSION= 0.3502 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= POE @@ -16,15 +17,9 @@ MAINTAINER= skv@FreeBSD.org COMMENT= Multitasking and networking framework for perl -BUILD_DEPENDS= \ - ${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \ - ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ - ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ - ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event \ - ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter \ - ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \ - ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ + ${SITE_PERL}/${PERL_ARCH}/Event.pm:${PORTSDIR}/devel/p5-Event +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes CONFIGURE_ARGS= --default @@ -59,4 +54,18 @@ ${INSTALL_SCRIPT} ${WRKSRC}/samples/* ${EXAMPLESDIR} .endif -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500700 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable +.endif + +.if ${PERL_LEVEL} < 500701 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter +.endif + +.if ${PERL_LEVEL} < 500702 +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes +.endif + +.include <bsd.port.post.mk> --- p5-POE-0.3502_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?20060728020904.581FF73>