Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Nov 2010 19:20:25 GMT
From:      Panagiotis Christias <p.christias@noc.ntua.gr>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152649: [patch] devel/p5-DateTime-TimeZone: missing dependency
Message-ID:  <201011281920.oASJKPBH077231@red.freebsd.org>
Resent-Message-ID: <201011281930.oASJUChL040694@freefall.freebsd.org>

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

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011281920.oASJKPBH077231>