Re-installing a port from source

Brandon Allbery allbery.b at gmail.com
Mon Jan 13 12:03:16 PST 2014


On Mon, Jan 13, 2014 at 2:59 PM, Davor Cubranic <cubranic at stat.ubc.ca>wrote:

> If I have an installed port and want to force re-installation from source,
> I can do it with 'port upgrade -s -f {portname}'. But then all of its
> dependencies are also re-installed from source. Why is this? I thought
> usually this recursive upgrade has to be forced with "--enforce-variants"?
> Is there a better way to do it?
>

upgrade checks if dependencies need to be upgraded as well. these checks
are as subject to -f as the original upgrade is.

Perhaps you want the -n option. (`man port` is a good thing to read
occasionally.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20140113/c99115a9/attachment.html>


More information about the macports-users mailing list