Ticket #43253: Portfile.diff
File Portfile.diff, 1.7 KB (added by t.tensi@…, 11 years ago) |
---|
-
Portfile
old new 40 40 41 41 configure.args --enable-shared 42 42 43 set suffix apple-${os.platform}${os.major} 44 43 45 if {[variant_isset universal]} { 44 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 45 set merger_host(i386) i686-apple-${os.platform}${os.major} 46 set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} 47 set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} 46 if {${build_arch} eq "ppc"} { 47 set merger_host(i386) i686-${suffix} 48 set merger_configure_args(i386) --build=powerpc-${suffix} 49 } else { 50 set merger_host(x86_64) x86_64-${suffix} 51 set merger_host(i386) i686-${suffix} 52 set merger_configure_args(x86_64) --build=x86_64-${suffix} 53 set merger_configure_args(i386) --build=i686-${suffix} 54 } 48 55 } else { 49 if {${build_arch} eq "i386"} { 56 if {${build_arch} eq "ppc"} { 57 configure.args-append \ 58 --host=powerpc-${suffix} \ 59 --build=powerpc-${suffix} 60 } elseif {${build_arch} eq "i386"} { 50 61 configure.args-append \ 51 --host=i686- apple-${os.platform}${os.major} \52 --build=i686- apple-${os.platform}${os.major}62 --host=i686-${suffix} \ 63 --build=i686-${suffix} 53 64 } elseif {${build_arch} eq "x86_64"} { 54 65 configure.args-append \ 55 --host=${build_arch}- apple-${os.platform}${os.major} \56 --build=${build_arch}- apple-${os.platform}${os.major}66 --host=${build_arch}-${suffix} \ 67 --build=${build_arch}-${suffix} 57 68 } 58 69 }