Date: Mon, 14 Apr 2003 12:12:24 +0200 From: Anton Berezin <tobez@tobez.org> To: freebsd-current@freebsd.org Subject: Re: Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8 Message-ID: <20030414101224.GA10790@heechee.tobez.org> In-Reply-To: <20030414090622.GA35826@chihiro.leafy.idv.tw> References: <20030414090622.GA35826@chihiro.leafy.idv.tw>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030414101224.GA10790>