7.2-STABLE to 8-R

John comp.john at googlemail.com
Tue Nov 24 17:40:37 UTC 2009

On Tue, Nov 24, 2009 at 06:05:13PM +0100, Rolf G Nielsen wrote:
> Just another note or two.
> If you decide to recompile the ports using portupgrade, portmaster or a 
> similar tool, rather than, as Pieter suggested, deleting them and 
> re-installing, make sure your ports are up to date before upgrading the 
> system. That way you are less likely to run into problems when 
> recompiling them after upgrading.
> After running mergemaster, do a make delete-old to remove any 7.2 
> binaries remaining (libraries still in use won't be deleted). I usually 
> do this while still in single user, but I believe it can be done in 
> multi user as well.

Yes, this is good advice. When crossing even a minor version boundary, I
do this, though it might be overkill with minor version changes. make
delete-old and make delete-old-libs. I also run make delete-old-dirs and
make delete-old-files

Regarding ports, I think I'll take the long route. This box is my main
machine, my desktop - and so there are a LOT of ports installed. It will
be easier to make portmanager rebuild everything in pristine mode. It
will take a long time, but I accept this. Before this is done, I run the
built-in routines in /usr/ports - clean out */work/* and distfiles.

It's a fast machine though - shouldn't take too long. What I'm thinking
about now is speeding up make. There are two cores in this CPU. Can I
specify -j2 ? Is it one per core or more? I have also specified
CPUTYPE?=athlon64 in make.conf. dmesg shows this:

CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (3006.83-MHz
K8-class CPU)

Can I specify -j somewhere? man make.conf doesn't cite examples of -j
and I'm unsure where (or if it is even desirable) to put it. Any clues?


John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5

More information about the freebsd-questions mailing list