Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2008 20:12:44 +0100
From:      Lars Balker Rasmussen <lars@balker.dk>
To:        leeym@FreeBSD.org
Cc:        perl@FreeBSD.org, lippemail@gmail.com
Subject:   Re: ports/120802: [UPDATE] devel/p5-ExtUtils-CBuilder
Message-ID:  <20080218191244.GB98877@tux.nerdheaven.dk>
In-Reply-To: <200802181901.m1IJ1qGs090814@freefall.freebsd.org>
References:  <200802181901.m1IJ1qGs090814@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 18, 2008 at 07:01:52PM +0000, leeym@FreeBSD.org wrote:
> Synopsis: [UPDATE] devel/p5-ExtUtils-CBuilder
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: leeym
> State-Changed-When: Mon Feb 18 18:58:23 UTC 2008
> State-Changed-Why: 
> Text::ParseWords was in core list of PERL since 5, (in fact, File::Spec too), and we currently support 5.6.2 and 5.8.8.
> Do we need to put them in {BUILD,RUN}_DEPENDS?
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=120802

Only if the version the port requires is different than the one included in
one of the perls supported.

In ports that require 5.8+ I typically leave out Scalar::Util and Test::More
from the requirement-lists (and make them depend on version[1]), since they're 
already in the dist.  This doesn't hold if the port e.g. requires a newer 
Test-Simple (like Test-WWW-Mechanize).

[1] E.g.:
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
RUN_DEPENDS+=   ${SITE_PERL}/${PERL_ARCH}/Scalar/Util.pm:${PORTSDIR}/lang/p5-Scalar-List-Utils
.endif
-- 
Lars Balker Rasmussen                                        Consult::Perl



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