portupgrade -- is there a way to only build and update ports that actually NEED it?

Andrea Venturoli ml at netfence.it
Mon Jun 25 08:43:49 UTC 2012


On 06/25/12 09:53, Dan Mahoney, System Admin wrote:
> Hey there,
>
> I'm presently in the process of trying to do a portupgrade from rt-3.8.8
> to 3.8.13.  By all estimations, this is a minor bump.
>
> Already, I've encountered several annoyances due to ABI changes, such as
> the libtool2.4 fun.  With normal portupgrade, this forces you to go fix
> the dependent port.
>
> Finally, I just applied -r, which should update all dependent packages,
> but it seems to upgrade them unconditionally.

"-r" will upgrade all dependent ports *if* a newer version is available.
"-rf" will upgrade all dependent ports unconditionally.





> You would think there's an option to portupgrade that says "don't
> upgrade every single package I've got, but if somewhere in the
> dependency chain I need a newer version of a thing, then do it."

I'm not sure what you mean.
I guess you waned "portupgrade -R rt", which will upgrade all ports rt 
is depending on.





HTH.

  bye
	av.


More information about the freebsd-questions mailing list