Ticket #54766: cxx11-gcc-dep.diff

File cxx11-gcc-dep.diff, 1.4 KB (added by raimue (Rainer Müller), 7 years ago)
  • _resources/port1.0/group/cxx11-1.1.tcl

    diff --git a/_resources/port1.0/group/cxx11-1.1.tcl b/_resources/port1.0/group/cxx11-1.1.tcl
    index 65d7fd4a03..4c70de3727 100644
    a b if {${cxx_stdlib} eq "libstdc++" } { 
    5656
    5757    # see https://trac.macports.org/ticket/53194
    5858    configure.cxx_stdlib macports-libstdc++
     59
     60    # see https://trac.macports.org/ticket/54766
     61    depends_lib-append port:gcc6
    5962   
    6063    platform darwin powerpc {
    6164        # ports will build on powerpc with gcc6, gcc4ABI-compatible
  • lang/llvm-4.0/Portfile

    diff --git a/lang/llvm-4.0/Portfile b/lang/llvm-4.0/Portfile
    index a1cad8d63e..551bc182b7 100644
    a b set clang_executable_version 4.0 
    1313set lldb_executable_version 4.0.1
    1414name                    llvm-${llvm_version}
    1515revision                0
    16 subport                 clang-${llvm_version} { revision 1 }
     16subport                 clang-${llvm_version} { revision 2 }
    1717subport                 lldb-${llvm_version} {}
    1818set suffix              mp-${llvm_version}
    1919set sub_prefix          ${prefix}/libexec/llvm-${llvm_version}
    if {${subport} eq "llvm-${llvm_version}"} { 
    556556    }
    557557
    558558    variant libstdcxx description {-stdlib=macports-libstdc++ searches for MacPorts libstdc++} {
    559         depends_lib-append port:gcc6
    560 
    561559        patchfiles-append 9001-macports-libstdcxx.diff
    562560
    563561        post-patch {