Ticket #48844: change-cctools.patch
File change-cctools.patch, 2.5 KB (added by zaxdo@…, 9 years ago) |
---|
-
Portfile
old new 40 40 patchfiles-append snowleopard-strnlen.patch 41 41 } 42 42 43 if {![variant_isset llvm33] && ![variant_isset llvm34] && ![variant_isset llvm35] && ![variant_isset llvm36] && ![variant_isset llvm37] } {43 if {![variant_isset llvm33] && ![variant_isset llvm34] && ![variant_isset llvm35] && ![variant_isset llvm36] && ![variant_isset llvm37] && ![variant_isset llvm38]} { 44 44 if {${os.major} >= 13} { 45 45 default_variants +llvm35 46 46 } elseif {${os.major} >= 10} { … … 51 51 } 52 52 53 53 set llvm_version {} 54 variant llvm33 conflicts llvm34 llvm35 llvm36 llvm37 description {Use llvm-3.3 for libLTO and llvm-mc} {54 variant llvm33 conflicts llvm34 llvm35 llvm36 llvm37 llvm38 description {Use llvm-3.3 for libLTO and llvm-mc} { 55 55 set llvm_version 3.3 56 56 depends_lib-append port:llvm-${llvm_version} 57 57 } 58 58 59 variant llvm34 conflicts llvm33 llvm35 llvm36 llvm37 description {Use llvm-3.4 for libLTO and llvm-mc} {59 variant llvm34 conflicts llvm33 llvm35 llvm36 llvm37 llvm38 description {Use llvm-3.4 for libLTO and llvm-mc} { 60 60 set llvm_version 3.4 61 61 depends_lib-append port:llvm-${llvm_version} 62 62 } 63 63 64 variant llvm35 conflicts llvm33 llvm34 llvm36 llvm37 description {Use llvm-3.5 for libLTO and llvm-mc} {64 variant llvm35 conflicts llvm33 llvm34 llvm36 llvm37 llvm38 description {Use llvm-3.5 for libLTO and llvm-mc} { 65 65 set llvm_version 3.5 66 66 depends_lib-append port:llvm-${llvm_version} 67 67 } 68 68 69 variant llvm36 conflicts llvm33 llvm34 llvm35 llvm37 description {Use llvm-3.6 for libLTO and llvm-mc} {69 variant llvm36 conflicts llvm33 llvm34 llvm35 llvm37 llvm38 description {Use llvm-3.6 for libLTO and llvm-mc} { 70 70 set llvm_version 3.6 71 71 depends_lib-append port:llvm-${llvm_version} 72 72 } 73 73 74 variant llvm37 conflicts llvm33 llvm34 llvm35 llvm36 description {Use llvm-3.7 for libLTO and llvm-mc} {74 variant llvm37 conflicts llvm33 llvm34 llvm35 llvm36 llvm38 description {Use llvm-3.7 for libLTO and llvm-mc} { 75 75 set llvm_version 3.7 76 76 depends_lib-append port:llvm-${llvm_version} 77 77 } 78 78 79 variant llvm38 conflicts llvm33 llvm34 llvm35 llvm36 llvm37 description {Use llvm-3.8 for libLTO and llvm-mc} { 80 set llvm_version 3.8 81 depends_lib-append port:llvm-${llvm_version} 82 } 83 79 84 use_configure no 80 85 destroot.args DSTROOT=${destroot}${prefix} RC_ProjectSourceVersion=${version} 81 86