Re: Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8

From: Anton Berezin <tobez_at_tobez.org>
Date: Mon, 14 Apr 2003 12:12:24 +0200
On Mon, Apr 14, 2003 at 05:06:22PM +0800, leafy wrote:
> For OSVERSION>500036 and Perl5.8 installed, many ports depending on Perl5 
> will get an incorrect build-dependancy on Perl 5.6.1. 
> 
> Test case:
> cd ports/sysutils/colorize && make clean, there will be a dependancy on 
> perl5.6.1_11
> 
> 
> The following patch corrects it but I doubt it's a long term solution if 
> the OSVERSION kept being bumped.

Yes, this patch does not fix it, it hides the problem instead.  Please
see PR 47377 for further discussion of the issue
(http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/47377)

> --- bsd.port.mk~        Mon Apr  7 09:41:34 2003
> +++ bsd.port.mk Mon Apr 14 17:02:01 2003
> _at__at_ -1334,7 +1334,7 _at__at_
>  USE_REINPLACE=yes
>  .endif
> 
> -.if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500036
> +.if exists(/usr/bin/perl5) && ${OSVERSION} >= 300000 && ${OSVERSION} < 500112
>  .if !exists(/usr/bin/perl${PERL_VERSION}) && ( defined(USE_PERL5) || \
>         defined(USE_PERL5_BUILD) || defined(USE_PERL5_RUN) )
>  pre-everything::

\Anton.
-- 
Perl is strongly typed, it just has very few types. -- Dan Sugalski
Received on Mon Apr 14 2003 - 01:12:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC