From owner-freebsd-ports@FreeBSD.ORG Tue Jun 28 14:06:32 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DAAC816A41C for ; Tue, 28 Jun 2005 14:06:32 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC3243D1F for ; Tue, 28 Jun 2005 14:06:32 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id 14so322871nzn for ; Tue, 28 Jun 2005 07:06:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DQsZL5L9r0uGm8DWtCoX+Fv6xS/qf6kkncH/lL8Y75ows6mzHscFvsK00+MZLQouHVJ8yi7o61fwyXL2EJ0l1HcdGuAAfJT8vcJzuscCP6MuPCPWqISpnpOAnA5Pq3Cq5ABmoRFPr3BnxGuPY2xRkx9CAwJrewsGBsyayeDg/mc= Received: by 10.36.138.7 with SMTP id l7mr3559778nzd; Tue, 28 Jun 2005 07:06:31 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Tue, 28 Jun 2005 07:06:31 -0700 (PDT) Message-ID: Date: Tue, 28 Jun 2005 22:06:31 +0800 From: Jiawei Ye To: Christian Laursen In-Reply-To: <86fyv2fush.fsf@borg.borderworlds.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <42C14EAB.4020902@protey.ru> <86fyv2fush.fsf@borg.borderworlds.dk> Cc: FreeBSD - Ports Subject: Re: perl-after-upgrade does not process anything X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jiawei Ye List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jun 2005 14:06:33 -0000 On 28 Jun 2005 15:57:50 +0200, Christian Laursen wrote= : > According to the perl-after-upgrade manpage: >=20 > After installation of the new perl is complete, either by hand from the > ports collection, or from a package, or via portupgrade, do the follow- > ing: >=20 > Personally I have upgraded perl from 5.8.6 to 5.8.7 with portupgrade and > used perl-after-upgrade afterwards with no problems at all. >=20 > -- > Christian Laursen To quote the manpage: DESCRIPTION The standard procedure after a perl port (either lang/perl5 or lang/perl5.8) upgrade is to basically reinstall all other packages t= hat depend on perl. This is always a painful exercise. The perl-after- upgrade utility makes this process mostly unnecessary. The tool goes through the list of installed packages, looks for thos= e that depend on perl, moves files around, modifies shebang lines in those scripts in which it is necessary to do so, tries its best to adjust dynamically linked binaries that link with libperl.so in the = old path, and updates the package database. At least on my 2 -current machines, none of these happened. 1) It didn't tell me what it handled and what it couldn't handle 2) I still need the script from UPDATING to fix all my perl-depending ports that took several hours. I truely need a refund this time :) BTW, my perl was installed as perl-threaded-5.8.7, could the package name be different from what the script expected? Or am I missing something obvious? Regards, Jiawei --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming