Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2014 15:06:24 GMT
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185641: [patch] devel/p5-ExtUtils-MakeMaker: dependency fixes
Message-ID:  <201401101506.s0AF6OMp006052@oldred.freebsd.org>
Resent-Message-ID: <201401101510.s0AFA0q8001509@freefall.freebsd.org>

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

>Number:         185641
>Category:       ports
>Synopsis:       [patch] devel/p5-ExtUtils-MakeMaker: dependency fixes
>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:   Fri Jan 10 15:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Kandaurov
>Release:        FreeBSD  10.0-ALPHA5
>Organization:
>Environment:
FreeBSD  10.0-ALPHA5 FreeBSD 10.0-ALPHA5 #0 r256092: Sun Oct  6 22:30:23 UTC 2013     root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This change fixes dependency version of JSON::PP and makes it conditional on perl version.

work/ExtUtils-MakeMaker-6.84/Makefile.PL:   'JSON::PP'     => '2.27103',

s/27203/27103/


>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: devel/p5-ExtUtils-MakeMaker/Makefile
===================================================================
--- devel/p5-ExtUtils-MakeMaker/Makefile	(revision 337001)
+++ devel/p5-ExtUtils-MakeMaker/Makefile	(working copy)
@@ -3,6 +3,7 @@
 
 PORTNAME=	ExtUtils-MakeMaker
 PORTVERSION=	6.84
+PORTREVISION=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -13,9 +14,6 @@
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
 
-BUILD_DEPENDS=	p5-JSON-PP>=2.27203:${PORTSDIR}/converters/p5-JSON-PP
-RUN_DEPENDS:=	${BUILD_DEPENDS}
-
 USES=		perl5
 USE_PERL5=	configure
 
@@ -23,9 +21,11 @@
 
 .if ${PERL_LEVEL} < 501400
 BUILD_DEPENDS+=	p5-ExtUtils-Manifest>=1.58:${PORTSDIR}/devel/p5-ExtUtils-Manifest \
-		p5-version>=0.88:${PORTSDIR}/devel/p5-version
+		p5-version>=0.88:${PORTSDIR}/devel/p5-version \
+		p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
 RUN_DEPENDS+=	p5-ExtUtils-Manifest>=1.58:${PORTSDIR}/devel/p5-ExtUtils-Manifest \
-		p5-version>=0.88:${PORTSDIR}/devel/p5-version
+		p5-version>=0.88:${PORTSDIR}/devel/p5-version \
+		p5-JSON-PP>=2.27103:${PORTSDIR}/converters/p5-JSON-PP
 .endif
 
 .if ${PERL_LEVEL} < 501600


>Release-Note:
>Audit-Trail:
>Unformatted:



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