Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8
Anton Berezin
tobez at tobez.org
Mon Apr 14 03:12:28 PDT 2003
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
> @@ -1334,7 +1334,7 @@
> 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
More information about the freebsd-current
mailing list