Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  8 Sep 2012 08:18:48 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lth@FreeBSD.org
Subject:   ports/171428: [PATCH] devel/p5-Parse-CPAN-Meta: fix *_DEPENDS for perl5.16
Message-ID:  <3XDGMr3Xqqz2Kd@sunpoet.net>
Resent-Message-ID: <201209080030.q880U1L8055771@freefall.freebsd.org>

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

>Number:         171428
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Parse-CPAN-Meta: fix *_DEPENDS for perl5.16
>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:   Sat Sep 08 00:30:01 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 9.1-PRERELEASE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sun Sep  2 03:56:34 CST
>Description:
- Fix *_DEPENDS: p5-JSON-PP >= 2.27200 is already in Perl 5.16.0+

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

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- p5-Parse-CPAN-Meta-1.44.04.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 303847)
+++ Makefile	(working copy)
@@ -16,13 +16,18 @@
 MAINTAINER=	lth@FreeBSD.org
 COMMENT=	Parse META.yml and other similar CPAN metadata files
 
-BUILD_DEPENDS=	p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
-		p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
-RUN_DEPENDS=	p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \
-		p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
+BUILD_DEPENDS=	p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML
+RUN_DEPENDS=	p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML
 
 PERL_CONFIGURE=	yes
 
 MAN3=		Parse::CPAN::Meta.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501600
+BUILD_DEPENDS+=	p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
+RUN_DEPENDS+=	p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP
+.endif
+
+.include <bsd.port.post.mk>
--- p5-Parse-CPAN-Meta-1.44.04.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?3XDGMr3Xqqz2Kd>