Ticket #19679: llvm-global_lto.diff
File llvm-global_lto.diff, 1.2 KB (added by macports@…, 15 years ago) |
---|
-
llvm/Portfile
old new 4 4 5 5 name llvm 6 6 version 2.6 7 revision 27 revision 3 8 8 categories lang 9 9 platforms darwin 10 10 use_parallel_build yes 11 11 maintainers erickt openmaintainer 12 license University of Illinois/NCSA Open Source License 12 13 description llvm is a next generation compiler infrastructure 13 14 long_description llvm brings tools to work on the llvm intermediate \ 14 15 language incl. a C and C++ frontend. … … 85 86 configure.args-append --enable-targets=host-only 86 87 } 87 88 89 # possibly conditionalize this to be available on darwin 9 and 10 only 90 variant global_lto description {Install libLTO globally to enable -flto and -O4 everywhere} { 91 post-destroot { 92 file mkdir ${destroot}/usr/lib 93 file link -symbolic ${destroot}/usr/lib/libLTO.dylib ${prefix}/lib/libLTO.dylib 94 } 95 } 96 88 97 livecheck.type regex 89 98 livecheck.url ${homepage}releases/ 90 livecheck.regex {'(\d+ (?:\.\d+)*)'}99 livecheck.regex {'(\d+\.\d+)'}