Re: how to update perl5.6.1_15 to perl 5.8.5

From: Chris <racerx_at_makeworld.com>
Date: Mon, 06 Sep 2004 13:48:51 -0500
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_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_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.
Received on Mon Sep 06 2004 - 16:48:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:10 UTC