Changeset 115137 for trunk/dports/mail


Ignore:
Timestamp:
Dec 26, 2013, 2:12:09 AM (6 years ago)
Author:
jeremyhu@…
Message:

misc: Rename cxx_stdlib to cxxstdlib to not conflict with the possible setting in macports.conf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/mail/claws-mail/Portfile

    r114862 r115137  
    4646                gtk2 x11
    4747
     48# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
    4849platform darwin {
    49     set cxx_stdlib {}
     50    set cxxstdlib {}
    5051
    5152    if {[info exists configure.cxx_stdlib] &&
    5253        ${configure.cxx_stdlib} ne {} &&
    5354        [string match *clang* ${configure.cxx}]} {
    54         set cxx_stdlib ${configure.cxx_stdlib}
     55        set cxxstdlib ${configure.cxx_stdlib}
    5556    } elseif {[string match *clang* ${configure.cxx}] &&
    5657              ${os.major} >= 13} {
    57         set cxx_stdlib libc++
     58        set cxxstdlib libc++
    5859    } else {
    59         set cxx_stdlib libstdc++
     60        set cxxstdlib libstdc++
    6061    }
    6162
    62     if {${cxx_stdlib} eq "libstdc++"} {
     63    if {${cxxstdlib} eq "libstdc++"} {
    6364       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
    6465       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
Note: See TracChangeset for help on using the changeset viewer.