Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 23:46:12 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lth@FreeBSD.org
Subject:   ports/125328: [PATCH] devel/p5-Cache: simplify dependency
Message-ID:  <200807060646.m666kCOC018419@cn1.leeym.com>
Resent-Message-ID: <200807060650.m666o1L9028824@freefall.freebsd.org>

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

>Number:         125328
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Cache: 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:   Sun Jul 06 06:50: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:

--- p5-Cache-2.04_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Cache/Makefile,v
retrieving revision 1.5
diff -u -d -b -w -u -r1.5 Makefile
--- Makefile	17 Apr 2008 14:24:45 -0000	1.5
+++ Makefile	6 Jul 2008 06:45:37 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Cache
 PORTVERSION=	2.04
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,14 +15,11 @@
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	A Perl Cache interface
 
-BUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
-		${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \
-		${SITE_PERL}/Heap/Fibonacci.pm:${PORTSDIR}/devel/p5-Heap \
-		${SITE_PERL}/${PERL_ARCH}/Storable.pm:${PORTSDIR}/devel/p5-Storable \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \
-		${SITE_PERL}/File/NFSLock.pm:${PORTSDIR}/devel/p5-File-NFSLock \
-		${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
-RUN_DEPENDS=	${BUILD_DEPENDS}
+RUN_DEPENDS=	p5-Digest-SHA1>=2.01:${PORTSDIR}/security/p5-Digest-SHA1 \
+		p5-File-NFSLock>=1.2:${PORTSDIR}/devel/p5-File-NFSLock \
+		p5-Heap>=0.01:${PORTSDIR}/devel/p5-Heap \
+		p5-IO-String>=1.02:${PORTSDIR}/devel/p5-IO-String \
+		p5-TimeDate>=2.24:${PORTSDIR}/devel/p5-TimeDate
 
 PERL_CONFIGURE=	yes
 
@@ -42,4 +40,11 @@
 		Cache::RemovalStrategy::LRU.3 \
 		Cache::Tester.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+=	p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+RUN_DEPENDS+=	p5-Storable>=1:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Cache-2.04_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?200807060646.m666kCOC018419>