Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2018 11:49:00 -0700
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        Paul Schmehl <pschmehl_lists@tx.rr.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Forcing port reinstalls without rebuilding over and over again
Message-ID:  <150a91f0-f27b-9fab-157f-dccdebd33e21@dreamchaser.org>
In-Reply-To: <47758EF2A172AE3BCA2F6E66@Pauls-MacBook-Pro.local>
References:  <47758EF2A172AE3BCA2F6E66@Pauls-MacBook-Pro.local>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?150a91f0-f27b-9fab-157f-dccdebd33e21>