From owner-freebsd-perl@FreeBSD.ORG Fri Feb 4 17:37:00 2005 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8998116A4CE for ; Fri, 4 Feb 2005 17:37:00 +0000 (GMT) Received: from heechee.tobez.org (heechee.tobez.org [217.157.39.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69AB943D31 for ; Fri, 4 Feb 2005 17:36:58 +0000 (GMT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 4A10D125467; Fri, 4 Feb 2005 18:36:56 +0100 (CET) Date: Fri, 4 Feb 2005 18:36:56 +0100 From: Anton Berezin To: A K Message-ID: <20050204173656.GB8366@heechee.tobez.org> References: <4200F3B3.7050706@canada.com> <813911377.1107434232.147437664.80111@mcgi2.rambler.ru> <20050203124845.GD15084@heechee.tobez.org> <1004303803.1107525198.147315880.81488@mcgi2.rambler.ru> <20050204135706.GC52914@heechee.tobez.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050204135706.GC52914@heechee.tobez.org> User-Agent: Mutt/1.4.2.1i cc: freebsd-perl@freebsd.org cc: Daren Desjardins Subject: Re: Perl 5.8.6 upgrade X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Feb 2005 17:37:00 -0000 On Fri, Feb 04, 2005 at 02:57:06PM +0100, Anton Berezin wrote: > On Fri, Feb 04, 2005 at 04:53:18PM +0300, A K wrote: > > * Anton Berezin [Thu, 3 Feb 2005 13:48:45 +0100]: > > > > > How necessary is it to rebuild all perl ports? > > > > You can copy `5.8.5' dirs under /usr/local/lib/perl5/site_perl to > > > > `5.8.6' (or add 5.8.5 to PERL5LIB) as a desperate measure but that is > > > > not supported and will probably break some modules. > > > Actually, this should work just fine, if at the same time the > > > corresponding /var/db/pkg/ entries are modified accordingly, and all > > > relevant scripts in LOCALBASE/bin and X11BASE/bin have their shebangs > > > modified. > > > > And user is warned that XS modules can break :) > > Of course, anything can break, but I would worry more about things with > their own little config files with the old paths in them. The script at > least tries to not touch things installed by older binary incompatible > perls (the $Config::Config{api_XXXX} part in the code). Another failure mode is of course those packages that link against perl. These will probably have to be discovered and re-compiled (although in my case sed -i.bak -e 's|5\.8\.5|5.8.6|' /usr/local/bin/vim was quite enough to fix vim with perl). :-) \Anton. -- The moronity of the universe is a monotonically increasing function. -- Jarkko Hietaniemi