From owner-freebsd-ports@FreeBSD.ORG Wed Jan 20 14:39:12 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B567106568B for ; Wed, 20 Jan 2010 14:39:12 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-fx0-f221.google.com (mail-fx0-f221.google.com [209.85.220.221]) by mx1.freebsd.org (Postfix) with ESMTP id A400B8FC18 for ; Wed, 20 Jan 2010 14:39:11 +0000 (UTC) Received: by fxm21 with SMTP id 21so148696fxm.13 for ; Wed, 20 Jan 2010 06:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=XkZne/+KBOPsEbCjXVMGUiqtOaZpc4f2+7UR92Uc6hU=; b=v3TGutyuvGCUm0URTuzy6SkxGxGkXheHLN+cDnlp/M9IVtS+FyGCZlg9UiarxzSHZY SgKyrdzLelI+vRBZjwPwmfjJ7J+TK2y9+wnPr/v/H/Tr3p57WbGbb6rdOX78o2nx14gh PLfvE3c854LC86pjdfYXzjQWDS5AI8HMAXX0A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xtV26KnZKNLGVDUYmmluCAwpJrElx1KkhJ0Or1pNsAQXDJi0Ye5esEbW5OxhyTBjai 0s7q6BEzQvT2C1sTTggKiEFPAr9EvrPZSe/Z1HpEMb6XSIdUkN5NXrJK39vhimR1foBT mqcDRGtCO2YIGpvWqnu1MO4vHxZe1ifeSzRTM= MIME-Version: 1.0 Received: by 10.223.19.200 with SMTP id c8mr54074fab.55.1263998350338; Wed, 20 Jan 2010 06:39:10 -0800 (PST) In-Reply-To: References: <3f1fd1ea1001200529h5a0e41b9kda9fc62410c3daa@mail.gmail.com> Date: Wed, 20 Jan 2010 15:39:10 +0100 Message-ID: <3f1fd1ea1001200639p1faa623tc9cb01da75c0781@mail.gmail.com> From: Michal Varga To: Helmut Schneider Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports@freebsd.org Subject: Re: How to upgrade perl 5.8 to 5.10? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 14:39:12 -0000 On Wed, Jan 20, 2010 at 2:58 PM, Helmut Schneider wrote: > # pkg_info -R perl-threaded-5.8.9_3 | grep -v ^p5 > Information for perl-threaded-5.8.9_3: > > Required by: > amavisd-new-2.6.4_4,1 > apache-2.2.14_5 > bsdpan-SNMP-Extension-PassPersist-0.03 > gamin-0.1.10_3 > gio-fam-backend-2.22.4 > glib-2.22.4 > mailgraph-1.14_2 > nagios-plugins-1.4.14,1 > net-snmp-5.4.2.1_6 > pango-1.26.2 > razor-agents-2.84 > rpm2cpio-1.2_2 > rrdtool-1.3.9 > # > >> (Also, cross-checking with /usr/local/bin/perl-after-upgrade helps >> with some other specific cases). > > I did so when I upgraded from 5.8.8 to 5.8.9. I finally found myself > doing a portupgrade -af. :) > I'm not a heavy Perl user, but I don't remember anything ever melting "too much", while doing it this way. Of course, there are things like irssi, that break -every time- you reinstall Perl (even the same version), but one gets used to it quickly. Then there is the rest that probably only execs some scripts with Perl and doesn't care about your versions (much). Majority of your, or mine, installed ports have Perl only as an inherited dependency and never directly use it, so -af is a bit overkill in such cases, i mean: pkg_info | wc -l 805 Whew. So even when you're switching near-major versions, recompiling p5-* and maybe some of those in your list (I'd randomly pick, say amavisd, bsdpan- and razor) should be enough, the fallout will be minimal, if any (and if so, you just rebuild that one more that still fails). Nevertheless, your list in't that extensive, recompiling all of it shouldn't take more than half an hour, that's still a bit cheaper than -af :) m.