Ticket #23944: Portfile.diff
File Portfile.diff, 853 bytes (added by raphael-st (Raphael Straub), 15 years ago) |
---|
-
Portfile
old new 31 31 universal_variant no 32 32 build.target tbb tbbmalloc 33 33 34 patchfiles patch-macos.inc.diff \ 35 patch-macos.gcc.inc.diff 36 platform darwin powerpc { 37 if {${build_arch} eq "ppc"} { 38 patchfiles-append patch-mac32-tbb-export.def.diff 39 } 40 } 41 34 42 configure { 35 if {${build_arch} eq "i386"} { 36 set arch_flag intel32 37 } elseif {${build_arch} eq "x86_64"} { 38 set arch_flag intel64 43 switch ${build_arch} { 44 "i386" { set arch_flag intel32 } 45 "x86_64" { set arch_flag intel64 } 46 "ppc" { set arch_flag ppc } 47 "ppc64" { set arch_flag ppc64 } 39 48 } 40 49 build.env-append arch=${arch_flag} 41 50 test.env-append arch=${arch_flag}