Forcing port reinstalls without rebuilding over and over again

Gary Aitken freebsd at dreamchaser.org
Wed Dec 12 18:49:26 UTC 2018


On 12/12/18 1:07 AM, Paul Schmehl wrote:
> Is there a way, using portmaster, to force the rebuild of all ports
> without rebuilding the same ports over and over and over again?
> 
> I've noticed that using portmaster -f forces the rebuild of every
> dependency. I think I've now rebuild perl and python at least 20 or
> 30 times. Once should be enough. I guess if you're going to rebuild
> everything, it would be ok to ignore dependencies for ports, since
> they're all going to be rebuilt anyway.
> 
> What's the magic potion for that?

If I understand the question, use the -R option.
I typically rebuild ports using:
   portmaster --no-term-title -R categoryA/portA categoryB/portB

I have not tried using -af, but I'm guessing the effect would be what you
want.

Gary


More information about the freebsd-questions mailing list