Forcing port reinstalls without rebuilding over and over again

Paul Schmehl pschmehl_lists at
Wed Dec 12 18:52:48 UTC 2018

--On December 12, 2018 at 2:07:35 AM -0600 Paul Schmehl 
<pschmehl_lists at> 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?

After reading through the man page, I thought that portmaster -Rfd would do 
the trick, but it didn't.

ISTM that, when you're building every port on a box, you shouldn't need to 
build all the dependencies for every port, because they're all going to be 
built anyway. Rebuilding perl (for example) repeatedly, makes no sense at 
all. It would be nice if there were a --force-with-no-dependencies switch 
so that every port could be built once and once only.

Paul Schmehl, Retired
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell

More information about the freebsd-questions mailing list