Ticket #54996: Portfile.diff
File Portfile.diff, 1.6 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago) |
---|
-
Portfile
old new 145 145 0001-Set-the-Mach-O-CPU-Subtype-to-ppc7400-when-targeting.patch \ 146 146 0002-Define-EXC_MASK_CRASH-and-MACH_EXCEPTION_CODES-if-th.patch \ 147 147 0003-MacPorts-Only-Don-t-embed-the-deployment-target-in-t.patch \ 148 0004-Fix-build-issues-pre-Lion-due-to-missing-a-strnlen-d.patch 148 0004-Fix-build-issues-pre-Lion-due-to-missing-a-strnlen-d.patch \ 149 0005-Dont-build-LibFuzzer-pre-Lion-due-to-missing-__threa.patch 149 150 150 151 if {${subport} eq "clang-${llvm_version}"} { 151 152 patchfiles-append \ … … 234 235 -DFFI_INCLUDE_DIR=`pkg-config --cflags-only-I libffi | sed 's/-I//'` \ 235 236 -DFFI_LIBRARY_DIR=${prefix}/lib 236 237 238 if {${os.major} <= 10} { 239 # See https://trac.macports.org/ticket/54996 240 configure.args-append \ 241 -DLLVM_USE_SANITIZE_COVERAGE=OFF 242 } 243 237 244 if {${subport} eq "llvm-${llvm_version}"} { 238 245 select.group llvm 239 246 select.file ${filespath}/mp-${subport} … … 481 488 set bin_filename [string map "${sub_prefix} ${prefix}" ${bin}]-${suffix} 482 489 set exec_path [string map "${destroot}${sub_prefix} ${sub_prefix}" ${bin}] 483 490 491 if {[vercmp ${xcodeversion} 4.2] > 0} { 484 492 xinstall -m 755 "${filespath}/llvm-bin" "${bin_filename}" 493 } else { 494 # see https://trac.macports.org/ticket/54985 495 xinstall -m 755 "${filespath}/llvm-bin-compat" "${bin_filename}" 496 } 485 497 reinplace "s:EXEC_PATH:${exec_path}:" "${bin_filename}" 486 498 } 487 499