Straightening out perl

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Dec 23 07:55:30 PST 2003


On Tue, Dec 23, 2003 at 10:35:09AM -0500, Scott I. Remick wrote:

> One option would be to do a pkg_delete -f on 5.6 then use portdb -F to fix
> the dependencies. Not sure if that's enough or if I need to rebuild. And
> if I need to rebuild the dependencies, how could I easily handle the list
> in one-pass? Right now it all depends on 5.6 which I'd be deleting. I
> could whack 5.6, repoint all dependencies to 5.8, then tell it to forcibly
> rebuild everything that depends on 5.8... but I don't know if this is the
> right thing to do.

This is pretty much the right thing to do.  You need to delete the
perl-5.6.1_15 port, *and then re-install perl-5.8.2_2* and run
'use.perl port' again.  That will make perl-5.8.2 your default perl.
Use pkgdb -F to fix up the dependencies.

Then you may feel the need to re-install all perl ports which have
installed anything under /usr/local/lib/perl5/{,site_perl/}5.6.1 in
order to keep everything tidy -- that'll be pretty much every port
with a p5- preffix, plus a few oddballs tike rrdtool, pdflib,
ImageMagick -- judicious use of pkg_which(1) will help you there.

	Cheers,

	Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20031223/c04cc508/attachment.bin


More information about the freebsd-questions mailing list