Specifying perl dependencies in a port

Erwin Lansing erwin at FreeBSD.org
Fri Aug 5 06:45:10 GMT 2005


On Thu, Aug 04, 2005 at 07:04:45PM -0400, Adam Weinberger wrote:
> 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?
> 
Because that would break all the perl ports that have been installed
before. We need the full attention of the user so that he upgrades his
whole perl installation, not just the version of perl installed.

-erwin

-- 
Erwin Lansing

DISCLAIMER:
No electrons were harmed while sending this message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050805/1258e29f/attachment.bin


More information about the freebsd-ports mailing list