> On Apr 22, 2017, at 11:56 AM, db <[email protected]> wrote:
>
> On a 10.8.5-system with default compiler qt5 @5.7.1 and qt56 @5.6.2 require
> clang-4.0 to build, while another whose compiler is set to clang-3.9 shows
> this as dependency. Can anyone confirm the former?
The clang-4.0 dependency on a stock unmodified 10.8.5 system comes from the
cxx11 1.1 portgroup being include in qt5, which whitelists this compiler for
you.
if {${cxx_stdlib} eq "libstdc++" } {
compiler.blacklist-append {macports-clang-3.[0-8]} clang
compiler.whitelist-append \
macports-clang-4.0 \
The full file is here:
/opt/macports-ports/_resources/port1.0/group/cxx11-1.1.tcl
For your other situation where the cxx_stdlib has been set to libc++, this
whitelisting will not be forced, and you’ll go back to default to clang-3.9,
which has been set in your macports.conf default_compilers setting.
Best,
Ken