develooper Front page | perl.perl5.porters | Postings from March 2000

Re: [PATCH 5.6.0-RC2] hints/ - make perl work on FreeBSD5.0

Thread Previous | Thread Next
Andy Dougherty
March 15, 2000 08:39
Re: [PATCH 5.6.0-RC2] hints/ - make perl work on FreeBSD5.0
Message ID:
On Wed, 15 Mar 2000, Anton Berezin wrote:

> Without this patch, 5.6.0-RC2 does not compile on FreeBSD 5.0-current
> (which has just been born).  With it, all tests are successful for both
> -3.*|4.0*)
> +3.*|4.*|5.0*)

But that will not be useful once 5.1 comes out, which could certainly
happen during perl-5.6.0's lifetime.

Quoting hints/README.txt:

    If you need to test for specific minor version differences in your
    hints file, be sure to include a default choice.  (See for one
    example.) That way, if you write a hint file for foonix 3.2, it might
    still work without any changes when foonix 3.3 is released.

That is, do something like

case "$osvers" in
[0-2]*) # do nothing
*)	# Known to work at least from 3.0 - 5.0
	# do whatever needs to be done.

    Andy Dougherty
    Dept. of Physics
    Lafayette College, Easton PA 18042

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About