Ticket #12649: portfile.patch

File portfile.patch, 968 bytes (added by adfernandes (Andrew Fernandes), 16 years ago)

Patches erlang R11-B5 for ssl and odbc

  • Portfile

    old new  
    33PortSystem 1.0
    44name            erlang
    55version         R11B-5
    6 revision        2
     6revision        3
    77categories      lang erlang
    88maintainers     bfulgham@macports.org
    99platforms       darwin
     
    4646                --enable-threads                \
    4747                --enable-kernel-poll            \
    4848                --enable-hipe                   \
     49                --without-ssl --without-ssl-zlib        \
     50                --without-odbc          \
    4951                --disable-smp-support
    5052
    5153variant smp     {
    5254                configure.args-delete   --disable-smp-support
    5355}
    5456
     57variant ssl {
     58        depends_lib             port:openssl port:zlib
     59        configure.args-delete   --without-ssl --without-ssl-zlib
     60        configure.args-append   --with-ssl=${prefix} --with-ssl-zlib=${prefix}
     61}
     62
     63variant odbc {
     64    depends_lib             port:unixODBC
     65    configure.args-delete   --without-odbc
     66    configure.args-append   --with-odbc=${prefix}
     67}
    5568
    5669platform i386 {
    5770   pre-configure {