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

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

Thread Previous | Thread Next
From:
Andy Dougherty
Date:
March 15, 2000 08:39
Subject:
Re: [PATCH 5.6.0-RC2] hints/freebsd.sh - make perl work on FreeBSD5.0
Message ID:
Pine.SOL.4.10.10003151127340.22041-100000@maxwell.phys.lafayette.edu
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 aix.sh 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.
	;;
esac


    Andy Dougherty		doughera@lafayette.edu
    Dept. of Physics
    Lafayette College, Easton PA 18042


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About