Ticket #44656: wxWidgets-stdlib.diff

File wxWidgets-stdlib.diff, 576 bytes (added by mojca (Mojca Miklavec), 10 years ago)

A patch to avoid using stdlib with gcc (on Leopard)

  • Portfile

     
    110110                    --enable-graphics_ctx \
    111111                    --with-macosx-sdk=no \
    112112                    --with-macosx-version-min=no
    113 configure.ldflags-append \
     113if {[string match *clang* ${configure.cxx}]} {
     114    configure.ldflags-append \
    114115                    -stdlib=${configure.cxx_stdlib}
     116}
    115117
    116118if {${subport} eq "wxPython-3.0"} {
    117119    set wxpythonsubset      wxPython-${wxpython_ver}-MacPorts-subset