Ticket #44188: llvm-3.5-python.patch

File llvm-3.5-python.patch, 1.3 KB (added by Ionic (Mihai Moldovan), 10 years ago)

Patch against clang 3.5 Portfile.

  • lang/llvm-3.5/Portfile

    old new  
    4242                        that can be built using the Clang frontend as a \
    4343                        library to parse C/C++ code.
    4444
    45     depends_lib         port:llvm-${llvm_version} port:libffi
    46     depends_run         port:clang_select port:ld64 port:python27
     45    depends_lib         port:llvm-${llvm_version} port:libffi port:python27
     46    depends_run         port:clang_select port:ld64
    4747    depends_extract     bin:svn:subversion
    4848    depends_build       port:cctools
    4949    depends_skip_archcheck-append cctools ld64 subversion
     
    5858set libcxx_rev          ${svn.revision}
    5959set clang-modernize_rev ${svn.revision}
    6060version                 ${llvm_version}-r${svn.revision}
     61revision                1
    6162worksrcdir              trunk
    6263svn.url                 http://llvm.org/svn/llvm-project/llvm/trunk
    6364#worksrcdir              release_${llvm_version_no_dot}
     
    113114} elseif {${subport} == "clang-${llvm_version}"} {
    114115    select.group        clang
    115116    select.file         ${filespath}/mp-${subport}
     117
     118    configure.args-append --with-python=${prefix}/bin/python27
    116119}
    117120
    118121# llvm-3.5 and later requires a C++11 runtime