<div dir="ltr"><div>Hi all,</div><div><br></div><div>I am a bit confused about what is going on with selection of compiler on Snow Leopard for the apbs port. It is taking clang for C but llvm-g++-4.2 for C++, and the latter does not work for this port. If clang++ were used I think it would work. Why is that not being selected? Why is an inconsistent pair of C and C++ being used?</div><div><br></div><div>Thanks,</div><div>David</div><div><br></div><div>In the Portfile I have</div><div><br></div><div>compiler.blacklist      macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 \</div><div>                        macports-dragonegg-3.3 macports-dragonegg-3.4 gcc-4.2 llvm-gcc-4.2 apple-gcc-4.2 macports-llvm-gcc-4.2</div><div><br></div><div>The failing buildbot output: <a href="https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/42401/steps/compile/logs/stdio">https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/42401/steps/compile/logs/stdio</a></div><div><br></div><div>Selected parts of that:</div><div><br></div><div>DEBUG: Unmatched blacklisted compiler: gcc-4.2</div><div>DEBUG: Unmatched blacklisted compiler: apple-gcc-4.2</div><div>DEBUG: Unmatched blacklisted compiler: macports-llvm-gcc-4.2</div><div>...</div><div>--&gt;  Configuring apbs</div><div>DEBUG: Using compiler &#39;Xcode Clang&#39;</div><div>DEBUG: Executing proc-pre-org.macports.configure-configure-0</div><div>DEBUG: Executing proc-pre-org.macports.configure-configure-1</div><div>DEBUG: Executing proc-pre-org.macports.configure-configure-2</div><div>DEBUG: Executing proc-pre-org.macports.configure-configure-3</div><div>DEBUG: Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: maloc readline cmake</div><div>DEBUG: Executing proc-pre-org.macports.configure-configure-4</div><div>DEBUG: Executing org.macports.configure (apbs)</div><div>DEBUG: Environment: </div><div>CC=&#39;/usr/bin/clang&#39;</div><div>CC_PRINT_OPTIONS=&#39;YES&#39;</div><div>CC_PRINT_OPTIONS_FILE=&#39;/opt/local/var/macports/build/_opt_mports_dports_science_apbs/apbs/work/.CC_PRINT_OPTIONS&#39;</div><div>CFLAGS=&#39;-pipe -Os&#39;</div><div>CPATH=&#39;/opt/local/include&#39;</div><div>CPPFLAGS=&#39;-I/opt/local/include&#39;</div><div>CXX=&#39;/usr/bin/llvm-g++-4.2&#39;</div><div>CXXFLAGS=&#39;-pipe -Os&#39;</div><div>...</div><div><br></div><div>which leads in the build to</div><div><br></div><div>error: unrecognized command line option &quot;-std=c++0x&quot;<br></div><div><br></div></div>