Specifying perl dependencies in a port
Adam Weinberger
adamw at magnesium.net
Thu Aug 4 23:04:47 GMT 2005
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 at magnesium.net || adamw at FreeBSD.org
adamw at vectors.cx || adamw at gnome.org
http://www.vectors.cx
More information about the freebsd-ports
mailing list