Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2008 18:46:16 -0700 (PDT)
From:      Yen-Ming Lee <leeym@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mat@FreeBSD.org
Subject:   ports/125351: [PATCH] devel/p5-DateTime-Locale: add missing dependency for old perl
Message-ID:  <200807070146.m671kGV0047110@cn1.leeym.com>
Resent-Message-ID: <200807070150.m671o1Mx052381@freefall.freebsd.org>

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

>Number:         125351
>Category:       ports
>Synopsis:       [PATCH] devel/p5-DateTime-Locale: add missing dependency for old perl
>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:   Mon Jul 07 01: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:
- add missing dependency for old perl
- bump PORTREVISION

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

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

--- p5-DateTime-Locale-0.40.01_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-DateTime-Locale/Makefile,v
retrieving revision 1.21
diff -u -d -b -w -u -r1.21 Makefile
--- Makefile	3 Jun 2008 14:40:29 -0000	1.21
+++ Makefile	7 Jul 2008 01:45:46 -0000
@@ -7,18 +7,17 @@
 
 PORTNAME=	DateTime-Locale
 PORTVERSION=	0.40.01
-DISTVERSION=	${PORTVERSION:C/\.(..)$/\1/}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
+DISTNAME=	${PORTNAME}-${PORTVERSION:C/\.(..)$/\1/}
 
 MAINTAINER=	mat@FreeBSD.org
 COMMENT=	Localization support for DateTime
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
-RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Params/Validate.pm:${PORTSDIR}/devel/p5-Params-Validate \
-		${SITE_PERL}/${PERL_ARCH}/List/MoreUtils.pm:${PORTSDIR}/lang/p5-List-MoreUtils
+RUN_DEPENDS=	p5-List-MoreUtils>=0:${PORTSDIR}/lang/p5-List-MoreUtils \
+		p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate
 
 PERL_MODBUILD=	yes
 
@@ -471,4 +470,10 @@
 	@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+=	p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA
+.endif
+
+.include <bsd.port.post.mk>
--- p5-DateTime-Locale-0.40.01_2.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?200807070146.m671kGV0047110>