Changeset 115389


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

db*: Link against the correct C++ runtime

Location:
trunk/dports/databases
Files:
7 edited

Legend:

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

    r98555 r115389  
    55name            db44
    66version         4.4.20
    7 revision        1
     7revision        2
    88set branch      [join [lrange [split ${version} .] 0 1] {}]
    99categories      databases
     
    6060                --libdir=\\\${prefix}/lib/db${branch}
    6161
     62# TODO: Simplify once MacPorts 2.3 is released
     63set cxx_stdlibflags {}
     64if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
     65    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
     66}
     67configure.cxx ${configure.cxx} ${cxx_stdlibflags}
     68
    6269destroot.destdir \
    6370    prefix=${destroot}${prefix} \
  • trunk/dports/databases/db46/Portfile

    r114328 r115389  
    88version         4.6.21
    99#subport db46-java revision has been bumped, reset it on next version update
    10 revision        8
     10revision        9
    1111set branch      [join [lrange [split ${version} .] 0 1] {}]
    1212categories      databases
     
    7373                --enable-dump185
    7474
     75# TODO: Simplify once MacPorts 2.3 is released
     76set cxx_stdlibflags {}
     77if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
     78    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
     79}
     80configure.cxx ${configure.cxx} ${cxx_stdlibflags}
     81
    7582destroot.destdir \
    7683    prefix=${destroot}${prefix} \
  • trunk/dports/databases/db47/Portfile

    r114328 r115389  
    77name            db47
    88version         4.7.25
    9 revision        2
     9revision        3
    1010set branch      [join [lrange [split ${version} .] 0 1] {}]
    1111categories      databases
     
    6060                --includedir=\\\${prefix}/include/db${branch} \
    6161                --libdir=\\\${prefix}/lib/db${branch}
     62
     63# TODO: Simplify once MacPorts 2.3 is released
     64set cxx_stdlibflags {}
     65if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
     66    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
     67}
     68configure.cxx ${configure.cxx} ${cxx_stdlibflags}
    6269
    6370destroot.destdir \
  • trunk/dports/databases/db48/Portfile

    r114328 r115389  
    88name            db48
    99version         4.8.30
    10 revision        2
     10revision        3
    1111set branch      [join [lrange [split ${version} .] 0 1] {}]
    1212categories      databases
     
    4040                --includedir=\\\${prefix}/include/db${branch} \
    4141                --libdir=\\\${prefix}/lib/db${branch}
     42
     43# TODO: Simplify once MacPorts 2.3 is released
     44set cxx_stdlibflags {}
     45if {[info exists configure.cxx_stdlib] && ${configure.cxx_stdlib} ne {} && [string match *clang* ${configure.cxx}]} {
     46    set cxx_stdlibflags -stdlib=${configure.cxx_stdlib}
     47}
     48configure.cxx ${configure.cxx} ${cxx_stdlibflags}
    4249
    4350depends_run-append  port:db_select
  • trunk/dports/databases/db51/Portfile

    r114328 r115389  
    77name            db51
    88version         5.1.29
    9 revision        2
     9revision        3
    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 \
  • trunk/dports/databases/db52/Portfile

    r114328 r115389  
    77name            db52
    88version         5.2.42
    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 \
  • 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.