From sunpoet@sunpoet.net  Sun Jun  5 12:45:26 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 36A12106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Jun 2011 12:45:26 +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 D802C8FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Sun,  5 Jun 2011 12:45:25 +0000 (UTC)
Received: by sunpoet.net (Postfix, from userid 1000)
	id B340E548E; Sun,  5 Jun 2011 20:44:34 +0800 (CST)
Message-Id: <20110605124434.B340E548E@sunpoet.net>
Date: Sun,  5 Jun 2011 20:44:34 +0800 (CST)
From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: lth@FreeBSD.org
Subject: [PATCH] textproc/p5-PPI: remove unnecessary dependency, bump PORTREVISION
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         157625
>Category:       ports
>Synopsis:       [PATCH] textproc/p5-PPI: remove unnecessary dependency, bump PORTREVISION
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lth
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 05 12:50:04 UTC 2011
>Closed-Date:    Sun Jun 12 16:02:47 UTC 2011
>Last-Modified:  Sun Jun 12 16:10:11 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: Wed Mar 30 10:30:31 CST 2011
>Description:
- Add PERL_LEVEL check: List::Utils>=1.20 is already in Perl 5.10 and above
- Use new CPAN:id macro
- 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-PPI-1.215_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/textproc/p5-PPI/Makefile,v
retrieving revision 1.27
diff -u -u -r1.27 Makefile
--- Makefile	10 Mar 2011 19:06:04 -0000	1.27
+++ Makefile	5 Jun 2011 12:42:31 -0000
@@ -7,21 +7,22 @@
 
 PORTNAME=	PPI
 PORTVERSION=	1.215
+PORTREVISION=	1
 CATEGORIES=	textproc perl5
-MASTER_SITES=	CPAN/../../authors/id/A/AD/ADAMK
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:ADAMK
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	Analyze and manipulate Perl code without using perl itself
 
-BUILD_DEPENDS=	\
+RUN_DEPENDS=	\
 		p5-Clone>=0.30:${PORTSDIR}/devel/p5-Clone \
 		p5-IO-String>=1.07:${PORTSDIR}/devel/p5-IO-String \
 		p5-List-MoreUtils>=0.16:${PORTSDIR}/lang/p5-List-MoreUtils \
-		p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils \
 		p5-Params-Util>=1.00:${PORTSDIR}/devel/p5-Params-Util \
 		p5-Task-Weaken>0:${PORTSDIR}/devel/p5-Task-Weaken
-RUN_DEPENDS=	${BUILD_DEPENDS}
+BUILD_DEPENDS=	${RUN_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
@@ -115,4 +116,11 @@
 	PPI::Transform.3 \
 	PPI::Transform::UpdateCopyright.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501000
+BUILD_DEPENDS+=	p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+RUN_DEPENDS+=	p5-Scalar-List-Utils>=1.20:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>
--- p5-PPI-1.215_1.patch ends here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->lth 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 5 12:50:14 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157625 
State-Changed-From-To: open->closed 
State-Changed-By: lth 
State-Changed-When: Sun Jun 12 16:02:46 UTC 2011 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157625: commit references a PR
Date: Sun, 12 Jun 2011 16:02:27 +0000 (UTC)

 lth         2011-06-12 16:02:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     textproc/p5-PPI      Makefile 
   Log:
   - Add PERL_LEVEL check: List::Utils>=1.20 is already in Perl 5.10 and above
   - Use new CPAN:id macro
   - Bump PORTREVISION for dependency change
   
   PR:             ports/157625
   Submitted by:   sunpoet
   
   Revision  Changes    Path
   1.28      +12 -4     ports/textproc/p5-PPI/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:
