Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2009 17:40:25 +0000
From:      John <comp.john@googlemail.com>
To:        Rolf G Nielsen <lazlar@lazlarlyricon.com>
Cc:        Pieter de Goeje <pieter@degoeje.nl>, freebsd-questions@freebsd.org
Subject:   Re: 7.2-STABLE to 8-R
Message-ID:  <20091124174025.GC91657@potato>
In-Reply-To: <4B0C1249.1090600@lazlarlyricon.com>
References:  <20091124154514.GA91657@potato> <200911241725.42229.pieter@degoeje.nl> <20091124163718.GB91657@potato> <4B0C1249.1090600@lazlarlyricon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

cheers

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



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