Changes between Initial Version and Version 1 of Ticket #55781, comment 5


Ignore:
Timestamp:
Feb 19, 2018, 3:55:25 PM (6 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55781, comment 5

    initial v1  
    1 This Portfile will need to be adjusted somewhat. This part:
     1This `kdevelop` Portfile will need to be adjusted somewhat. This part:
    22{{{
    33#Using c++11 for Lion and higher in case of clang 64-bit
     
    1111would not work correctly with the `cxx11 1.1` PortGroup, as it is forcing `stdlib=libc++` rather than allowing that PG to function as designed.
    1212
     13There is a similar section in the `kdevplatform` portfile that will also need to be looked at:
     14{{{
     15if {${configure.compiler} ne "clang"} {
     16    #Adding -fexceptions, required by gcc compilers
     17    patchfiles-append   patch-languageCMakeLists.diff
     18} elseif {${os.platform} eq "darwin" && ${os.major} >= 11} {
     19    #Using c++11 for Lion and higher in case of clang 64-bit
     20    lappend merger_configure_args(x86_64)   -DCMAKE_CXX_FLAGS='-stdlib=libc++ -std=c++11' -DHAVE_UNORDERED_MAP=1
     21    if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
     22        configure.args-append               -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++11" -DHAVE_UNORDERED_MAP=1
     23    }
     24}
     25}}}
     26
    1327That doesn't explain the OP's error, though.