Ticket #44188: llvm-3.4-python.patch

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

Patch against clang 3.4 Portfile.

  • lang/llvm-3.4/Portfile

    old new  
    55
    66set llvm_version        3.4
    77set llvm_version_no_dot 34
    8 revision                3
     8revision                4
    99name                    llvm-${llvm_version}
    1010subport                 clang-${llvm_version} { revision 4 }
    1111set suffix              mp-${llvm_version}
     
    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
     
    133133} elseif {${subport} == "clang-${llvm_version}"} {
    134134    select.group        clang
    135135    select.file         ${filespath}/mp-${subport}
     136
     137    configure.args-append --with-python=${prefix}/bin/python2.7
    136138}
    137139
    138140# g++-4.0 fails to build some of the newer C++ for ppc