From sunpoet@sunpoet.net  Sat Sep 17 07:21:59 2011
Return-Path: <sunpoet@sunpoet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 151AA106566C;
	Sat, 17 Sep 2011 07:21:59 +0000 (UTC)
	(envelope-from sunpoet@sunpoet.net)
Received: from sunpoet.net (sunpoet.net [220.133.12.240])
	by mx1.freebsd.org (Postfix) with ESMTP id D7DB48FC15;
	Sat, 17 Sep 2011 07:21:58 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
	id D63913E5E; Sat, 17 Sep 2011 15:21:12 +0800 (CST)
Message-Id: <20110917072112.D63913E5E@sunpoet.net>
Date: Sat, 17 Sep 2011 15:21:12 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lth@FreeBSD.org
Subject: [PATCH] devel/p5-Parse-CPAN-Meta: set CPAN::Meta::YAML and JSON:PP as conditional dependencies
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         160778
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Parse-CPAN-Meta: set CPAN::Meta::YAML and JSON:PP as conditional dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lth
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 17 07:30:09 UTC 2011
>Closed-Date:    Mon Oct 03 18:38:06 UTC 2011
>Last-Modified:  Mon Oct  3 18:40:00 UTC 2011
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Jul  9 23:23:51 CST
>Description:
- Set CPAN::Meta::YAML and JSON:PP as conditional dependencies as they are bundled in Perl 5.14
- Bump PORTREVISION for dependency change

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

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

--- p5-Parse-CPAN-Meta-1.44.01_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/p5-Parse-CPAN-Meta/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	21 Jun 2011 06:58:11 -0000	1.7
+++ Makefile	17 Sep 2011 07:19:17 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Parse-CPAN-Meta
 PORTVERSION=	1.44.01
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:DAGOLDEN
@@ -16,12 +17,17 @@
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	Parse META.yml and other similar CPAN metadata files
 
-BUILD_DEPENDS=	p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
-		p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
-RUN_DEPENDS=	${BUILD_DEPENDS}
-
 PERL_CONFIGURE=	yes
 
 MAN3=		Parse::CPAN::Meta.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+BUILD_DEPENDS+=	p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
+		p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
+RUN_DEPENDS+=	p5-CPAN-Meta-YAML>=0.002:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
+		p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Parse-CPAN-Meta-1.44.01_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lth 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Sep 17 07:30:21 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160778 
State-Changed-From-To: open->closed 
State-Changed-By: lth 
State-Changed-When: Mon Oct 3 18:38:05 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=160778 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/160778: commit references a PR
Date: Mon,  3 Oct 2011 18:37:52 +0000 (UTC)

 lth         2011-10-03 18:37:39 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/p5-Parse-CPAN-Meta Makefile 
   Log:
   - Set CPAN::Meta::YAML and JSON:PP as conditional dependencies as they are bundled in Perl 5.14
   - Bump PORTREVISION for dependency change
   
   PR:             ports/160778
   Submitted by:   sunpoet
   
   Revision  Changes    Path
   1.8       +11 -5     ports/devel/p5-Parse-CPAN-Meta/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
