forcibly reinstall one port with portmaster

Miroslav Lachman 000.fbsd at quip.cz
Wed Apr 9 21:51:30 UTC 2008


Doug Barton wrote:
> Miroslav Lachman wrote:
> 
>> How can I reinstall just one port without version change?
> 
> 
> Use it without any flags. Portmaster does by default what portupgrade 
> does with the -f switch. You're right it should probably be more clear 
> in the man page that this is the default behavior. I'm not sure how to 
> make the description of what -f does more clear. Perhaps you could 
> suggest some other language?

Thank you for your reply. I didn't know the default behaviour.

from manpage: "
By default portmaster will first recurse through the port to update, and
all of its dependencies (if any) to handle any port OPTIONS via the 
'make config' interface.  It will then start building all ports that 
need updating."

So it sound like portmaster will do nothing, if specified port has no 
newer version. Isn't it meant for -a switch?

It will be better if there will be something like: "By default 
portmaster always rebuild specified (named?) port even if there is no 
newer version available"

"-f  always rebuild ports dependencies (overrides -i)"

I am not a native english speaker...

Miroslav Lachman


More information about the freebsd-ports mailing list