Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2008 10:34:33 -0800 (PST)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lth@FreeBSD.org
Subject:   ports/128797: [PATCH] devel/cpan-upload: simplify dependency
Message-ID:  <200811111834.mABIYXe3084872@cn1.leeym.com>
Resent-Message-ID: <200811111840.mABIe1XK007455@freefall.freebsd.org>

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

>Number:         128797
>Category:       ports
>Synopsis:       [PATCH] devel/cpan-upload: simplify 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:   Tue Nov 11 18:40:01 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:
- simplify dependency
- bump PORTREVISION

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

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

--- cpan-upload-2.2_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/cpan-upload/Makefile,v
retrieving revision 1.4
diff -u -d -b -w -u -r1.4 Makefile
--- Makefile	17 Apr 2008 14:24:37 -0000	1.4
+++ Makefile	11 Nov 2008 18:34:07 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	cpan-upload
 PORTVERSION=	2.2
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	../by-authors/id/N/NE/NEILB/scripts
@@ -14,15 +15,19 @@
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	Script for uploading distributions to CPAN
 
-BUILD_DEPENDS=	${SITE_PERL}/AppConfig/Std.pm:${PORTSDIR}/devel/p5-AppConfig-Std \
-		${SITE_PERL}/Pod/Usage.pm:${PORTSDIR}/textproc/p5-Pod-Parser \
-		${SITE_PERL}/Net/FTP.pm:${PORTSDIR}/net/p5-Net \
-		${SITE_PERL}/HTTP/Request/Common.pm:${PORTSDIR}/www/p5-libwww \
-		${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	p5-AppConfig-Std>=1.05:${PORTSDIR}/devel/p5-AppConfig-Std \
+		p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \
+		p5-libwww>=0:${PORTSDIR}/www/p5-libwww
+BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
 MAN1=	cpan-upload.1
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	p5-Net>=2.28:${PORTSDIR}/net/p5-Net
+.endif
+
+.include <bsd.port.post.mk>
--- cpan-upload-2.2_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?200811111834.mABIYXe3084872>