Ticket #32575: llvm.patch

File llvm.patch, 1016 bytes (added by jeremyhu (Jeremy Huddleston Sequoia), 13 years ago)

llvm Portfile patch

  • Portfile

     
    8787    destroot.args-append  OVERRIDE_libdir=${sub_prefix}/lib
    8888}
    8989
     90variant python25 conflicts python26 python27 description {Use python 2.5} {
     91    depends_build-append    port:python25
     92    configure.python        ${prefix}/bin/python2.5
     93}
     94
     95variant python26 conflicts python25 python27 description {Use python 2.6} {
     96    depends_build-append    port:python26
     97    configure.python        ${prefix}/bin/python2.6
     98}
     99
     100variant python27 conflicts python25 python26 description {Use python 2.7} {
     101    depends_build-append    port:python27
     102    configure.python        ${prefix}/bin/python2.7
     103}
     104
     105if {![variant_isset python25] && ![variant_isset python26]} {
     106    default_variants +python27
     107}
     108
    90109post-destroot {
    91110    file mkdir ${destroot}${prefix}/share/doc
    92111    file rename ${destroot}${sub_prefix}/docs/llvm ${destroot}${prefix}/share/doc/${name}