Ticket #55382: cxx11-1.1.tcl.diff
File cxx11-1.1.tcl.diff, 1.1 KB (added by ryandesign (Ryan Carsten Schmidt), 7 years ago) |
---|
-
cxx11-1.1.tcl
39 39 40 40 # Compilers supporting C++11 are GCC >= 4.6 and clang >= 3.3. 41 41 42 if {${c xx_stdlib} eq "libstdc++"} {42 if {${configure.cxx_stdlib} eq "libstdc++"} { 43 43 44 44 # see https://trac.macports.org/ticket/53194 45 45 configure.cxx_stdlib macports-libstdc++ … … 59 59 # do not force all Portfiles to switch from depends_lib to depends_lib-append 60 60 port::register_callback register_gcc_dependents 61 61 62 if { ${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} {63 # ports will build on powerpcwith gcc6, gcc4ABI-compatible62 if {(${os.platform} eq "darwin" && ${os.major} < 10) || ${build_arch} eq "ppc" || ${build_arch} eq "ppc64"} { 63 # ports will build with gcc6, gcc4ABI-compatible 64 64 pre-configure { 65 ui_msg " PowerPCC++11 ports are compiling with GCC. EXPERIMENTAL."65 ui_msg "C++11 ports are compiling with GCC. EXPERIMENTAL." 66 66 } 67 67 compiler.whitelist macports-gcc-6 68 68 universal_variant no