Ticket #31585: Portfile-rrdtool.diff

File Portfile-rrdtool.diff, 1.5 KB (added by hatfieldje@…, 13 years ago)

patch with compiler change

  • Portfile

    old new  
    11# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    2 # $Id$
     2# $Id: Portfile 85252 2011-10-12 04:54:08Z bfulgham@macports.org $
    33
    44PortSystem      1.0
    55
     
    7474post-destroot   {
    7575        system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_html_${version}${extract.suffix}"
    7676        system "tar -C ${destroot}${prefix}/lib/erlang -zxvf ${distpath}/otp_doc_man_${version}${extract.suffix}"
    77  
     77
    7878        set erts_dir   erts-5.8.5
    7979        set erl_interface_dir   erl_interface-3.7.5
    8080        set wx_dir wx-0.99
     
    9494
    9595platform darwin 10 {
    9696    patchfiles-delete       patch-lib_ssl_c_src_esock_openssl.c
    97    
     97
    9898    # 10.6 (and 10.6.1) has a bad bug related to using dlopen in a thread.
    9999    # rdar://7209349 - http://www.openradar.appspot.com/7209349
    100100    # This is a workaround.
     
    104104
    105105platform darwin 11 {
    106106    #patchfiles-delete       patch-lib_ssl_c_src_esock_openssl.c
    107    
     107
    108108    # 10.6 (and 10.6.1) has a bad bug related to using dlopen in a thread.
    109109    # rdar://7209349 - http://www.openradar.appspot.com/7209349
    110110    # This is a workaround.
    111111    #patchfiles-append   patch-erts_emulator_sys_unix_ddll.c.diff
    112112    configure.ldflags-append -framework CoreFoundation
     113
     114    if {${configure.compiler} == "clang"} {
     115        configure.compiler llvm-gcc-4.2
     116    }
    113117}
    114118
    115119platform macosx {