New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79566


Ignore:
Timestamp:
06/18/11 05:56:35 (4 years ago)
Author:
jmr@…
Message:

erlang: Fix the wxWidgets dependency situation. Using the system wx doesn't help because it's still only i386+ppc on 10.6. Not disabling wx when the variant isn't set caused bugs like #25225.

Location:
trunk/dports/lang/erlang
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/erlang/Portfile

    r74681 r79566  
    6363                patch-erts_configure.diff \ 
    6464                patch-lib_ssl_c_src_esock_openssl.c \ 
    65                 patch-lib_wx_configure.in \ 
    66                 patch-lib_wx_configure 
     65                patch-disable_wx.diff 
    6766 
    6867configure.args  --prefix=${prefix}      \ 
     
    9897 
    9998platform darwin 10 { 
    100     # 10.6 comes with wxWidgets and since it requires libsdl, which 
    101     # current doesn't compile (bug #20235), we can avoid it here. 
    102     depends_build-delete    port:wxWidgets 
    103  
    10499    patchfiles-delete       patch-lib_ssl_c_src_esock_openssl.c 
    105100     
     
    111106} 
    112107 
     108platform macosx { 
     109    if {[variant_isset wxwidgets]} { 
     110        # wxMac is 32-bit only 
     111        supported_archs i386 ppc 
     112    } 
     113} 
    113114platform darwin { 
    114     if {$build_arch == "x86_64" || $build_arch == "ppc64"} { 
     115    if {${configure.build_arch} == "x86_64" || ${configure.build_arch} == "ppc64"} { 
    115116        configure.args-append --enable-darwin-64bit 
    116117    } 
     
    118119 
    119120variant wxwidgets description {Build wxWidgets support} { 
    120         depends_build-append     port:wxWidgets 
     121        patchfiles-delete        patch-disable_wx.diff 
     122        patchfiles-append        patch-lib_wx_configure.in \ 
     123                                 patch-lib_wx_configure 
     124        depends_lib-append       port:wxWidgets 
    121125        depends_run-append       port:tk 
    122126} 
Note: See TracChangeset for help on using the changeset viewer.