Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 22:31:17 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        aaron@FreeBSD.org
Subject:   ports/121634: [PATCH] ftp/p5-File-Fetch: fix dependency
Message-ID:  <200803120531.m2C5VHag070494@db1.leeym.com>
Resent-Message-ID: <200803120530.m2C5U1Mr010663@freefall.freebsd.org>

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

>Number:         121634
>Category:       ports
>Synopsis:       [PATCH] ftp/p5-File-Fetch: fix 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:   Wed Mar 12 05:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
System: FreeBSD db1.leeym.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
>Description:
- use CPAN macro
- fix dependency
- bump PORTREVISION

Port maintainer (aaron@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-File-Fetch-0.14_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/ftp/p5-File-Fetch/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile	23 Feb 2008 19:12:32 -0000	1.5
+++ Makefile	12 Mar 2008 05:28:19 -0000
@@ -7,23 +7,33 @@
 
 PORTNAME=	File-Fetch
 PORTVERSION=	0.14
+PORTREVISION=	1
 CATEGORIES=	ftp www perl5
-MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
-MASTER_SITE_SUBDIR=	File
+MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	aaron@FreeBSD.org
 COMMENT=	A generic file fetching mechanism
 
-RUN_DEPENDS=	${SITE_PERL}/IPC/Cmd.pm:${PORTSDIR}/devel/p5-IPC-Cmd \
-		${SITE_PERL}/Locale/Maketext/Simple.pm:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
-		${SITE_PERL}/Module/Load/Conditional.pm:${PORTSDIR}/devel/p5-Module-Load-Conditional \
-		${SITE_PERL}/${PERL_ARCH}/File/Spec.pm:${PORTSDIR}/devel/p5-PathTools \
-		${SITE_PERL}/Params/Check.pm:${PORTSDIR}/devel/p5-Params-Check
+RUN_DEPENDS=	p5-URI>=0:${PORTSDIR}/net/p5-URI \
+		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
 BUILD_DEPENDS=	${RUN_DEPENDS}
 
-MAN3=	File::Fetch.3
+MAN3=		File::Fetch.3
 
 PERL_CONFIGURE=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	p5-Net>=0:${PORTSDIR}/net/p5-Net
+.endif
+
+.if ${PERL_LEVEL} < 500905
+RUN_DEPENDS+=	p5-IPC-Cmd>=0.36:${PORTSDIR}/devel/p5-IPC-Cmd \
+		p5-Locale-Maketext-Simple>=0:${PORTSDIR}/devel/p5-Locale-Maketext-Simple \
+		p5-Module-Load-Conditional>=0.04:${PORTSDIR}/devel/p5-Module-Load-Conditional \
+		p5-Params-Check>=0.07:${PORTSDIR}/devel/p5-Params-Check
+.endif
+
+.include <bsd.port.post.mk>
--- p5-File-Fetch-0.14_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?200803120531.m2C5VHag070494>