Ticket #35875: erlang-portfile.patch

File erlang-portfile.patch, 1.5 KB (added by jvalduvieco@…, 12 years ago)

Modifications to portfile

  • Portfile

    old new  
    3131master_sites    http://www.erlang.org/download/ \
    3232                http://www.erlang.org/download/patches/:patches
    3333
    34 # Parallel build doesn't work as per R13B01
    35 use_parallel_build  no
     34# R15B01 supports parallel build
     35use_parallel_build  yes
    3636
    37 universal_variant   no
     37universal_variant   yes
    3838
    3939distfiles       otp_src_${version}${extract.suffix}                    \
    4040                otp_doc_man_${version}${extract.suffix}                \
     
    119119    configure.ldflags-append -framework CoreFoundation
    120120}
    121121
     122platform darwin 12 {
     123    configure.ldflags-append -framework CoreFoundation -framework Appkit
     124}
    122125platform darwin {
    123126    if {[variant_isset wxwidgets]} {
    124127        # wxMac is 32-bit only
     
    141144        depends_run-append       port:tk
    142145}
    143146
     147variant wxgtk description {Build wxGTK support as wxwidgets 2.8 is not supported in 10.8} {
     148        patchfiles-delete        patch-disable_wx.diff
     149        patchfiles-append        patch-lib_wx_configure.in \
     150                                 patch-lib_wx_configure \
     151                                 patch-lib_wx_configure_wx64_compat
     152        depends_lib-append       port:wxgtk-opengl
     153        depends_run-append       port:tk
     154}
     155
    144156variant ssl description {Build SSL support} {
    145157        configure.args-delete    --without-ssl
    146158        configure.args-append    --with-ssl=${prefix}