how to update perl5.6.1_15 to perl 5.8.5

Chris racerx at makeworld.com
Mon Sep 6 11:48:57 PDT 2004


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.


More information about the freebsd-current mailing list