Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2005 17:20:43 +0400
From:      Sergey Skvortsov <skv@protey.ru>
To:        Jiawei Ye <leafy7382@gmail.com>
Cc:        FreeBSD - Ports <freebsd-ports@freebsd.org>
Subject:   Re: perl-after-upgrade does not process anything
Message-ID:  <42C14EAB.4020902@protey.ru>
In-Reply-To: <c21e92e2050627183623236331@mail.gmail.com>
References:  <c21e92e2050627183623236331@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jiawei Ye wrote:
>
> I have just used 'portupgrade -a' to upgrade my ports to the latest

If you use 'portupgrade' then 'perl-after-upgrade' is useless because
portupgrade fixes all +CONTENTS files in /var/db/pkg to update new
dependencies and 'perl-after-upgrade' can not detect anything.

To use 'perl-after-upgrade' you must manually upgrade perl:
cd /usr/ports/lang/perl5.8
make
make test
make deinstall install clean
use.perl port

perl-after-upgrade
perl-after-upgrade -f
perl-after-upgrade -v

To upgrade perl-dependend ports after portupgrade run this command:

portupgrade -f `(pkg_info -R perl-5\* |tail +4; \
  find /usr/local/lib/perl5/site_perl/5.[68].[12456] -type f -print0 \
  | xargs -0 pkg_which -fv | sed -e '/: ?/d' -e 's/.*: //')|sort -u`

-- 
Sergey Skvortsov
mailto: skv@protey.ru



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42C14EAB.4020902>