Ticket #37349: erlang-hipe.diff

File erlang-hipe.diff, 1.3 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)
  • Portfile

     
    55
    66name            erlang
    77version         R15B03
     8revision        1
    89categories      lang erlang
    910maintainers     bfulgham
    1011platforms       darwin
     
    6364                --enable-threads                \
    6465                --enable-dynamic-ssl-lib        \
    6566                --enable-smp-support            \
    66                 --enable-hipe                   \
     67                --disable-hipe                  \
    6768                --without-ssl                   \
    6869                --without-odbc
    6970
     
    145146        depends_lib-append     port:openssl
    146147}
    147148
    148 variant nohipe description {Disable HiPE (native-code bytecode compiler)}   {
    149         configure.args-delete   --enable-hipe
     149variant hipe conflicts nohipe description {Enable HiPE (native-code bytecode compiler)} {
     150        configure.args-delete   --disable-hipe
     151        configure.args-append   --enable-hipe
    150152}
     153variant nohipe conflicts hipe description {Legacy compatibility variant} {}
     154if {[variant_isset nohipe]} {
     155        default_variants -hipe
     156} else {
     157        default_variants +hipe
     158}
    151159
    152160variant odbc description {Build ODBC support} {
    153161    depends_lib-append             port:unixODBC