Ignore:
Timestamp:
Jan 1, 2014, 6:47:49 AM (6 years ago)
Author:
jeremyhu@…
Message:

db*: Link against the correct C++ runtime

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/databases/db53/Portfile

    r114328 r115389  
    77name            db53
    88version         5.3.21
    9 revision        1
     9revision        2
    1010set branch      [join [lrange [split ${version} .] 0 1] {}]
    1111categories      databases
     
    3939                --includedir=\\\${prefix}/include/db${branch} \
    4040                --libdir=\\\${prefix}/lib/db${branch}
     41
     42# TODO: Simplify once MacPorts 2.3 is released
     43set cxx_stdlibflags {}
     44if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
     45    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
     46}
     47configure.cxx ${configure.cxx} ${cxx_stdlibflags}
    4148
    4249destroot.destdir \
Note: See TracChangeset for help on using the changeset viewer.