Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Aug 2005 19:04:45 -0400
From:      Adam Weinberger <adamw@magnesium.net>
To:        "Brent B. Powers" <bbp2006@columbia.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Specifying perl dependencies in a port
Message-ID:  <42F29F0D.7040307@magnesium.net>
In-Reply-To: <42F287DB.9050307@columbia.edu>
References:  <42F287DB.9050307@columbia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Brent B. Powers wrote:
> I've a port that requires _either_ perl5 or perl5.8. This isn't a 
> problem on FBSD5, but on 4.11,  it appears that if I build the package 
> on a system with 5.8, 5.8 is specified as a dependency, and if the 
> package is build on a system with 5.6, 5.6 is set as a dependency.
> 
> Is there a clean way to specify (on 4.11) that we require a 'modern' perl?
> 
> .if ${PERL_LEVEL} < 500600
> IGNORE=    Requires perl 5.6 or better. Please install lang/perl5.8 and 
> retry
> .endif

Instead of marking it IGNORE there, why not just add a 
BUILD_/RUN_DEPENDS on lang/perl5.8?

# Adam


-- 
Adam Weinberger
adamw@magnesium.net || adamw@FreeBSD.org
adamw@vectors.cx    ||   adamw@gnome.org
http://www.vectors.cx



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