ports/152649: [patch] devel/p5-DateTime-TimeZone: missing dependency

Panagiotis Christias p.christias at noc.ntua.gr
Sun Nov 28 19:30:13 UTC 2010


>Number:         152649
>Category:       ports
>Synopsis:       [patch] devel/p5-DateTime-TimeZone: missing dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 28 19:30:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Panagiotis Christias
>Release:        7.3-RELEASE-p2 i386
>Organization:
NTUA NOC
>Environment:
FreeBSD builder7-i386.noc.ntua.gr 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Mon Jul 12 19:04:04 UTC 2010     root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
The latest version of devel/p5-DateTime-TimeZone makes use of parent.pm module which is not available in Perl prior to version 5.10.x.

>How-To-Repeat:
cd /usr/ports/lang/perl5.8
make install
cd /usr/ports/devel/p5-DateTime-TimeZone
make install
perl -e 'use DateTime::TimeZone'
>Fix:
Add dependency in Makefile if ${PERL_LEVEL} < 501000.

Patch attached with submission follows:

--- Makefile.orig	2010-11-23 14:44:41.000000000 +0200
+++ Makefile	2010-11-28 21:06:04.000000000 +0200
@@ -43,4 +43,8 @@
 RUN_DEPENDS+=	p5-PathTools>=3:${PORTSDIR}/devel/p5-PathTools
 .endif
 
+.if ${PERL_LEVEL} < 501000
+RUN_DEPENDS+=	p5-parent>=0.223:${PORTSDIR}/devel/p5-parent
+.endif
+
 .include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list