From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 29 16:20:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 974C11065698 for ; Mon, 29 Sep 2008 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 7414C8FC1E for ; Mon, 29 Sep 2008 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m8TGK4ZK071039 for ; Mon, 29 Sep 2008 16:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m8TGK4hg071038; Mon, 29 Sep 2008 16:20:04 GMT (envelope-from gnats) Resent-Date: Mon, 29 Sep 2008 16:20:04 GMT Resent-Message-Id: <200809291620.m8TGK4hg071038@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yen-Ming Lee Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 70F731065699 for ; Mon, 29 Sep 2008 16:19:36 +0000 (UTC) (envelope-from leeym@cn1.leeym.com) Received: from cn1.leeym.com (b06s56le.corenetworks.net [64.85.165.237]) by mx1.freebsd.org (Postfix) with ESMTP id 49DD58FC08 for ; Mon, 29 Sep 2008 16:19:36 +0000 (UTC) (envelope-from leeym@cn1.leeym.com) Received: from cn1.leeym.com (localhost [127.0.0.1]) by cn1.leeym.com (8.14.2/8.14.2) with ESMTP id m8TGJZxN016565; Mon, 29 Sep 2008 09:19:35 -0700 (PDT) (envelope-from leeym@cn1.leeym.com) Received: (from leeym@localhost) by cn1.leeym.com (8.14.2/8.14.2/Submit) id m8TGJZgO016564; Mon, 29 Sep 2008 09:19:35 -0700 (PDT) (envelope-from leeym) Message-Id: <200809291619.m8TGJZgO016564@cn1.leeym.com> Date: Mon, 29 Sep 2008 09:19:35 -0700 (PDT) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: clsung@FreeBSD.org Subject: ports/127721: [PATCH] devel/p5-CPANPLUS: update dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 16:20:04 -0000 >Number: 127721 >Category: ports >Synopsis: [PATCH] devel/p5-CPANPLUS: update dependency >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: Mon Sep 29 16:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 7.0-RELEASE i386 >Organization: >Environment: System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: - use conditional RUN_DEPENDS to avoid unnecessary dependencie - remove useless post-patch and post-configure targets - bump PORTREVISION Port maintainer (clsung@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-CPANPLUS-0.8400_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-CPANPLUS/Makefile,v retrieving revision 1.13 diff -u -d -b -w -u -r1.13 Makefile --- Makefile 27 Sep 2008 08:50:42 -0000 1.13 +++ Makefile 29 Sep 2008 16:17:17 -0000 @@ -7,6 +7,7 @@ PORTNAME= CPANPLUS PORTVERSION= 0.8400 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -15,25 +16,7 @@ MAINTAINER= clsung@FreeBSD.org COMMENT= Ameliorated interface to the CPAN -BUILD_DEPENDS= p5-File-Fetch>=0.07:${PORTSDIR}/ftp/p5-File-Fetch \ - p5-IPC-Cmd>=0.24:${PORTSDIR}/devel/p5-IPC-Cmd \ - p5-Locale-Maketext-Simple>0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ - p5-Log-Message>0:${PORTSDIR}/devel/p5-Log-Message \ - p5-Module-Load>=0.10:${PORTSDIR}/devel/p5-Module-Load \ - p5-Module-Load-Conditional>=0.07:${PORTSDIR}/devel/p5-Module-Load-Conditional \ - p5-Params-Check>=0.22:${PORTSDIR}/devel/p5-Params-Check \ - p5-Package-Constants>0:${PORTSDIR}/devel/p5-Package-Constants \ - p5-Term-UI>=0.05:${PORTSDIR}/devel/p5-Term-UI \ - p5-Test-Harness>=2.62:${PORTSDIR}/devel/p5-Test-Harness \ - p5-Test-Simple>=0.47:${PORTSDIR}/devel/p5-Test-Simple \ - p5-Archive-Extract>=0.07:${PORTSDIR}/archivers/p5-Archive-Extract \ - p5-Archive-Tar>=1.23:${PORTSDIR}/archivers/p5-Archive-Tar \ - p5-IO-Zlib>=1.04:${PORTSDIR}/archivers/p5-IO-Zlib \ - p5-Object-Accessor>=0.03:${PORTSDIR}/devel/p5-Object-Accessor \ - p5-Module-CoreList>=1.97:${PORTSDIR}/devel/p5-Module-CoreList \ - p5-Module-Pluggable>=2.4:${PORTSDIR}/devel/p5-Module-Pluggable \ - p5-Module-Loaded>0:${PORTSDIR}/devel/p5-Module-Loaded -RUN_DEPENDS= ${BUILD_DEPENDS} +RUN_DEPENDS= p5-Module-Signature>=0:${PORTSDIR}/security/p5-Module-Signature USE_PERL5= 5.6.1+ PERL_CONFIGURE= yes @@ -43,18 +26,6 @@ OPTIONS= TEST_REPORTER "Send reports to cpan-testers" off \ YAML "Check reports from cpan-testers" off -.include - -.if defined(WITH_TEST_REPORTER) -BUILD_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter -RUN_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter -.endif - -.if defined(WITH_YAML) -BUILD_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML -RUN_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML -.endif - MAN1= cpanp.1 cpan2dist.1 MAN3= CPANPLUS.3 \ CPANPLUS::Backend.3 \ @@ -90,12 +61,46 @@ CPANPLUS::Shell::Default::Plugins::Source.3 \ CPANPLUS::inc.3 -post-patch: - @${FIND} ${WRKSRC} -name "*\.orig" -delete +.include -post-configure: - @${REINPLACE_CMD} -Ee \ - "s|('base' => )'.*(/.cpanplus)',|\1\"\$$ENV{'HOME'}\2\",|" \ - ${WRKSRC}/lib/CPANPLUS/Config.pm +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=0.0:${PORTSDIR}/security/p5-Digest-MD5 \ + p5-Storable>=0.0:${PORTSDIR}/devel/p5-Storable +.endif + +.if ${PERL_LEVEL} < 500808 +RUN_DEPENDS+= p5-ExtUtils-MakeMaker>=0:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker +.endif + +.if ${PERL_LEVEL} < 500904 +RUN_DEPENDS+= p5-Module-Load>=0.10:${PORTSDIR}/devel/p5-Module-Load \ + p5-Module-Loaded>=0.01:${PORTSDIR}/devel/p5-Module-Loaded \ + p5-Package-Constants>=0.01:${PORTSDIR}/devel/p5-Package-Constants +.endif + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Archive-Extract>=0.16:${PORTSDIR}/archivers/p5-Archive-Extract \ + p5-IPC-Cmd>=0.36:${PORTSDIR}/devel/p5-IPC-Cmd \ + p5-Locale-Maketext-Simple>=0.01:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \ + p5-Log-Message>=0.01:${PORTSDIR}/devel/p5-Log-Message \ + p5-Module-CoreList>=2.09:${PORTSDIR}/devel/p5-Module-CoreList \ + p5-Module-Pluggable>=2.4:${PORTSDIR}/devel/p5-Module-Pluggable \ + p5-Object-Accessor>=0.32:${PORTSDIR}/devel/p5-Object-Accessor \ + p5-Params-Check>=0.22:${PORTSDIR}/devel/p5-Params-Check +.endif + +.if ${PERL_LEVEL} < 501000 +RUN_DEPENDS+= p5-File-Fetch>=0.13_04:${PORTSDIR}/ftp/p5-File-Fetch \ + p5-Module-Load-Conditional>=0.18:${PORTSDIR}/devel/p5-Module-Load-Conditional \ + p5-Term-UI>=0.18:${PORTSDIR}/devel/p5-Term-UI +.endif + +.if defined(WITH_TEST_REPORTER) +RUN_DEPENDS+= ${SITE_PERL}/Test/Reporter.pm:${PORTSDIR}/devel/p5-Test-Reporter +.endif + +.if defined(WITH_YAML) +RUN_DEPENDS+= ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML +.endif .include --- p5-CPANPLUS-0.8400_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: