From owner-freebsd-current@FreeBSD.ORG Mon Apr 14 03:12:28 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7DAF537B401 for ; Mon, 14 Apr 2003 03:12:28 -0700 (PDT) Received: from heechee.tobez.org (heechee.tobez.org [213.237.10.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CEEB43F3F for ; Mon, 14 Apr 2003 03:12:27 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 4F1D2175D4; Mon, 14 Apr 2003 12:12:24 +0200 (CEST) Date: Mon, 14 Apr 2003 12:12:24 +0200 From: Anton Berezin To: freebsd-current@freebsd.org Message-ID: <20030414101224.GA10790@heechee.tobez.org> Mail-Followup-To: Anton Berezin , freebsd-current@freebsd.org References: <20030414090622.GA35826@chihiro.leafy.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030414090622.GA35826@chihiro.leafy.idv.tw> User-Agent: Mutt/1.5.1i Subject: Re: Incorrect Perl dependancy for OSVERSION>500036 and Perl 5.8 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 10:12:28 -0000 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