Ticket #26466: patch-Portfile.diff

File patch-Portfile.diff, 1.1 KB (added by manphiz@…, 14 years ago)

Patch against current boost Portfile

  • Portfile

    old new  
    5353                -sEXPAT_LIBPATH=${prefix}/lib \
    5454                -sZLIB_INCLUDE=${prefix}/include \
    5555                -sZLIB_LIBPATH=${prefix}/lib \
    56                 threading=single,multi \
     56                threading=multi \
     57                link=shared \
     58                runtime-link=shared \
    5759                variant=release
    5860
    5961use_parallel_build  no
     
    182184    }
    183185}
    184186
     187variant single description \
     188        "build single-threading flavor in addition of multi-threading flavor" {
     189    build.args-delete   threading=multi
     190    build.args-append   threading=single,multi
     191}
     192
     193variant static description \
     194        "build static flavor in addition of shared flavor" {
     195    build.args-delete   link=shared \
     196                        runtime-link=shared
     197    build.args-append   link=shared,static \
     198                        runtime-link=shared,static
     199}
     200
    185201variant universal {
    186202    build.args-append   pch=off
    187203