Ticket #14121: swi-prolog-st-mt.diff

File swi-prolog-st-mt.diff, 1.3 KB (added by ryandesign (Ryan Carsten Schmidt), 17 years ago)
  • swi-prolog/Portfile

     
    9191        file delete -force -- ${resources}/Welcome.rtf
    9292}
    9393
    94 default_variants +mt
     94if {![variant_isset st]} {
     95        default_variants +mt
     96}
    9597
    96 variant st {
     98variant st conflicts mt description {Single-threaded} {
    9799        configure.args-append --disable-mt
    98100}
    99101
    100 variant mt {
     102variant mt conflicts st description {Multi-threaded (default)} {
    101103        configure.args-append --enable-mt
    102104}
  • swi-prolog-lite/Portfile

     
    3636        --prefix=${prefix}                              \
    3737        --mandir=${prefix}/share/man    \
    3838        --disable-gmp \
    39         --enable-shared \
    40         --enable-mt
     39        --enable-shared
    4140
    4241platform darwin 6 {
    4342        depends_lib-append lib:libdl:dlcompat
     
    6867        file delete -force -- ${resources}/Welcome.rtf
    6968}
    7069
    71 default_variants +mt
     70if {![variant_isset st]} {
     71        default_variants +mt
     72}
    7273
    73 variant st {
     74variant st conflicts mt description {Single-threaded} {
    7475        configure.args-append --disable-mt
    7576}
    7677
    77 variant mt {
     78variant mt conflicts st description {Multi-threaded (default)} {
    7879        configure.args-append --enable-mt
    7980}