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/multimedia/gtkpod/Portfile

    r114862 r115137  
    3232                    path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
    3333
     34# TODO: Check ${configure.cxx_stdlib} directly once MacPorts 2.3 is released
    3435platform darwin {
    35     set cxx_stdlib {}
     36    set cxxstdlib {}
    3637
    3738    if {[info exists configure.cxx_stdlib] &&
    3839        ${configure.cxx_stdlib} ne {} &&
    3940        [string match *clang* ${configure.cxx}]} {
    40         set cxx_stdlib ${configure.cxx_stdlib}
     41        set cxxstdlib ${configure.cxx_stdlib}
    4142    } elseif {[string match *clang* ${configure.cxx}] &&
    4243              ${os.major} >= 13} {
    43         set cxx_stdlib libc++
     44        set cxxstdlib libc++
    4445    } else {
    45         set cxx_stdlib libstdc++
     46        set cxxstdlib libstdc++
    4647    }
    4748
    48     if {${cxx_stdlib} eq "libstdc++"} {
     49    if {${cxxstdlib} eq "libstdc++"} {
    4950       depends_lib-delete path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk
    5051       depends_lib-append path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk-2.0
Note: See TracChangeset for help on using the changeset viewer.