ports/121912: [PATCH] devel/p5-DateTime-TimeZone: fix dependency
Yen-Ming Lee
leeym at FreeBSD.org
Thu Mar 20 14:50:03 UTC 2008
>Number: 121912
>Category: ports
>Synopsis: [PATCH] devel/p5-DateTime-TimeZone: 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: Thu Mar 20 14:50:02 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:
- fix dependency
- bump PORTREVISION
- Note: it seems that DateTime::TimeZone depends on DateTime, however, it will become a look dependency if we do so. So I just leave it there like what we did before.
Port maintainer (mat at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-DateTime-TimeZone-0.73_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-DateTime-TimeZone/Makefile,v
retrieving revision 1.51
diff -u -u -r1.51 Makefile
--- Makefile 19 Mar 2008 08:52:51 -0000 1.51
+++ Makefile 20 Mar 2008 14:42:26 -0000
@@ -7,6 +7,7 @@
PORTNAME= DateTime-TimeZone
PORTVERSION= 0.73
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -15,8 +16,7 @@
COMMENT= Time zone object base class and factory
RUN_DEPENDS= p5-Class-Singleton>=1.03:${PORTSDIR}/devel/p5-Class-Singleton \
- p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate \
- ${SITE_PERL}/${PERL_ARCH}/Cwd.pm:${PORTSDIR}/devel/p5-PathTools
+ p5-Params-Validate>=0.72:${PORTSDIR}/devel/p5-Params-Validate
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_MODBUILD= yes
@@ -36,4 +36,14 @@
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
.endif
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= p5-Storable>=0:${PORTSDIR}/devel/p5-Storable
+.endif
+
+.if ${PERL_LEVEL} < 500806
+RUN_DEPENDS+= p5-PathTools>=3:${PORTSDIR}/devel/p5-PathTools
+.endif
+
+.include <bsd.port.post.mk>
--- p5-DateTime-TimeZone-0.73_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list