Rebuilding a part of an installation

Ryan Schmidt ryandesign at macports.org
Fri Jul 1 02:47:22 PDT 2011


On Jun 28, 2011, at 03:07, Konrad Hinsen wrote:

> is there a way to rebuild a part of a MacPorts installation, such as "python26 and everything that depends on it"? I tried
> 
> 	port upgrade --force python26
> 
> but that rebuilds lots of packages which don't depend on Python, including monsters such as gcc44.

Strange, I'm not sure why that would rebuild gcc44, since it appears nowhere in the dependency chain that I can see.

To rebuild just python26 and nothing else you could do:

sudo port -n upgrade --force python26

To rebuild python26 and everything that depends on it you could do:

sudo port -nR upgrade --force python26

(I think) but this won't rebuild things that depend on those things that depend on python26 so this may not be what you need.

Perhaps if you explain why you want to rebuild python26 and everything that depends on it, we could say the best way to do that.






More information about the macports-users mailing list