Ticket #15945: Portfile.patch

File Portfile.patch, 823 bytes (added by simon@…, 16 years ago)
  • Portfile

    old new  
    213213        --without-magick-plus-plus
    214214}
    215215
     216variant openmp description {Enable OpenMP support to speed up operations on SMP machines} {
     217    configure.compiler macports-gcc-4.3
     218    depends_lib-append port:gcc43
     219}
     220
     221post-install {
     222    if { [variant_isset openmp] } {
     223        ui_msg "******************************************************"
     224        ui_msg "* In order to use OpenMP make sure to set the environment variable"
     225        ui_msg "* OMP_NUM_THREADS"
     226        ui_msg "* to the number of CPUs/cores available in your machine."
     227        ui_msg "******************************************************"
     228    }
     229}
     230
    216231platform darwin 6 {
    217232    depends_lib-append \
    218233        lib:libdl:dlcompat \