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.