#51486: qhull requires switches to cmake to build on 10.6.8 ----------------------------+--------------------- Reporter: chrisgorman@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qhull | ----------------------------+--------------------- Comment (by ryandesign@…): Replying to [comment:3 mmoll@…]:
The snow leopard build is still failing (https://build.macports.org/builders/buildports-snowleopard- x86_64/builds/42188) even after I set the compiler blacklist to: {{{ compiler.blacklist *gcc-4.2 {*gcc-4.[0-6]} }}} I don't understand why it is using /Developer/usr/bin/clang as the C compiler and /Developer/usr/bin/llvm-g++-4.2 as the C++ compiler.
Because in Xcode 3, clang existed but clang++ did not exist therefore when `configure.compiler` is set to clang, MacPorts will use clang for C code and llvm-g++-4.2 for C++ code. If llvm-g++-4.2 does not work for this port, you must use the compiler_blacklist_versions portgroup and add `{clang < 137}` to `compiler.blacklist`. If FSF GCC is not specifically required, you shouldn't force it to be used or offer compiler variants. You don't want to risk mixing FSF GCC's C++ standard library with OS X's C++ standard library. Instead, just blacklist compilers that don't work and let MacPorts choose an alternative (e.g. a newer version of clang). -- Ticket URL: <https://trac.macports.org/ticket/51486#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X