On Aug 1, 2016, at 11:44 AM, Adam Mercer <[email protected]> wrote:
> Sometimes I want to hold a given package at a specific version, is
> there a way to do this with port?

You need to set up a local repository where you can 'freeze' the port version 
at the one you want.

[ideally you wouldn't have to do this ever, though]

> Currently I use something like the following:
> 
> $ sudo port upgrade outdated and not gnuplot
> 
> however that only works if none of the outdated ports have a
> dependency on gnuplot.

Another way to do it would be to run upgrade like 'normal' and then force 
deactivate the new version + activate the old version (with the caveat that 
this might break things)

-- 
Daniel J. Luke



_______________________________________________
macports-users mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to