compilers PortGroup

Joshua Root jmr at macports.org
Mon Jul 4 14:07:58 UTC 2022


On 2022-7-4 23:24 , Mark Brethen wrote:
> Here’s what I’ve observed:
> 
> compilers.choose fc cc
> compiler.setup  require_fortran -g95 -clang
> 
> If I issue sudo port xyz +gcc11, I get ${configure.cc} = /usr/bin/clang.

What is xyz? When are you reading the variable? If it's before the 
variants execute, you won't see the changes they make.

- Josh


More information about the macports-dev mailing list