rebuild a package without an update

Ryan Schmidt ryandesign at macports.org
Sun Nov 8 07:18:22 UTC 2020



On Nov 7, 2020, at 12:46, Riccardo Mottola wrote:

> I need to rebuild a package which is not working due to a dependency upgrde. revdep "catches" it but revdep fails to build it because it uses the wrong compiler and I need to force it (also because the compiler itself is broken because it is broken because the library is broken....)
> 
> I usually in these cases just run "port upgrade xxxx configure.compiler=xxx" but in this case there is nothing to upgrade, I need to rebuild in place.
> 
> How can I do?

This situation should not arise. But: you can force a rebuild of a port using:

sudo port -ns upgrade --force theportname

and add whatever extra variables you want to set after that.




More information about the macports-users mailing list