Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 2004 13:48:51 -0500
From:      Chris <racerx@makeworld.com>
To:        cell <bettan@nerim.net>
Cc:        freebsd-current@freebsd.org
Subject:   Re: how to update perl5.6.1_15 to perl 5.8.5
Message-ID:  <413CB113.1060205@makeworld.com>
In-Reply-To: <005701c49441$749cba70$0401a8c0@frederic>
References:  <005701c49441$749cba70$0401a8c0@frederic>

next in thread | previous in thread | raw e-mail | index | archive | help
cell wrote:
> hello , i search how to update perl5.6.1_15 to perl 5.8.5 in freebsd 5.3-beta2 very easy.Anyone have a solution with portupgrade or other ?
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> 
> 
I used the basic from /usr/ports/UPDATING and enhanced it a bit:

# lang/perl5.8 has been updated to 5.8.5. you should update everything
# depending on perl, that is :
#  1. upgrade your perl5.8 installation.
#  2. run "use.perl port", so that the system knows you have 5.8.5.
#  3. run some magic incantations to upgrade all ports depending on perl,
#     that is run something like:

portupgrade -f `(pkg_info -R perl-5.8.5 |tail +4; find 
/usr/local/lib/perl5/site
_perl/5.6.1 -type f -print0 | xargs -0 pkg_which -fv | sed -e '/: ?/d' 
-e 's/.*:
  //')|sort -u`

# This is likely to fail for a few ports, you'll have to upgrade them
# afterward.


-- 
Best regards,
Chris

A short cut is the longest distance between two points.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?413CB113.1060205>