New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 81296


Ignore:
Timestamp:
07/28/11 21:36:25 (4 years ago)
Author:
bfulgham@…
Message:

Correction for build under OS X 10.7 (Lion).

File:
1 edited

Legend:

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

    r79815 r81296  
    55name            erlang 
    66version         R14B03 
     7revision        1 
    78categories      lang erlang 
    89maintainers     bfulgham 
     
    102103} 
    103104 
     105platform darwin 11 { 
     106    patchfiles-delete       patch-lib_ssl_c_src_esock_openssl.c 
     107     
     108    # 10.6 (and 10.6.1) has a bad bug related to using dlopen in a thread. 
     109    # rdar://7209349 - http://www.openradar.appspot.com/7209349 
     110    # This is a workaround. 
     111    patchfiles-append   patch-erts_emulator_sys_unix_ddll.c.diff 
     112    configure.ldflags-append -framework CoreFoundation 
     113 
     114    # We must build Erlang on LLVM with -O0 (see http://llvm.org/bugs/show_bug.cgi?id=7883 
     115    # for details).  You can also build with gcc-4.2, but NOT the default Lion gcc-4.2, 
     116    # which is actually llvm-gcc-4.2; instead, you would need to install the gcc-4.2 
     117    # port. 
     118    configure.cflags-delete -O2 
     119    configure.cxxflags-delete -O2 
     120    configure.cflags-append -O0 
     121    configure.cxxflags-append -O0 
     122} 
     123 
    104124platform macosx { 
    105125    if {[variant_isset wxwidgets]} { 
Note: See TracChangeset for help on using the changeset viewer.