Ticket #23667: Portfile.diff

File Portfile.diff, 924 bytes (added by adfernandes (Andrew Fernandes), 15 years ago)
  • Portfile

     
    55
    66name            boost
    77version         1.42.0
     8revision        1
    89license         Boost-1.0
    910categories      devel
    1011platforms       darwin
     
    6061                -sZLIB_INCLUDE=${prefix}/include \
    6162                -sZLIB_LIBPATH=${prefix}/lib \
    6263                threading=single,multi \
    63                 variant=debug,release
     64                variant=release
    6465
    6566use_parallel_build  no
    6667
     
    137138    }]
    138139}
    139140
     141variant debug description {Builds debug versions of the libraries as well} {
     142    build.args-delete   variant=release
     143    build.args-append   variant=debug,release
     144}
     145
    140146variant icu description {Enable Unicode support in Boost.Regex through ICU} {
    141147    depends_lib-append  port:icu
    142148    build.args-append   -sICU_PATH=${prefix}