Ticket #46519: ppc.patch
File ppc.patch, 1.4 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 10 years ago) |
---|
-
Portfile
34 34 } elseif {${os.major} >= 9} { 35 35 default_variants +llvm34 36 36 } 37 38 # Leopard/powerpc has the option to not be LTO39 if {![variant_isset llvm34] && ![variant_isset llvm35] && ${os.arch} ne "powerpc" && ${os.major} >= 9} {40 ui_error "Your platform cannot be configured without LTO support in ld64. Please enable one of the llvmXX variants, and try again."41 return -code error "Your platform cannot be configured without LTO support in ld64. Please enable one of the llvmXX variants, and try again."42 }43 37 } 44 38 45 39 variant universal {} … … 80 74 configure.cppflags-append -I${prefix}/Developer/SDKs/Darwin${os.major}.sdk/usr/include 81 75 } 82 76 83 if {${os. arch} eq "powerpc" || ${os.major} < 9} {77 if {${os.major} < 9} { 84 78 # XCode 3.2.6 85 # 127.2 should work for powerpc, but it will require some build fixes.86 79 version 97.17 87 80 revision 4 88 81 checksums rmd160 d52df7d7f741c8bedd29cbac73dbb9db992b4795 \ … … 100 93 revision 8 101 94 checksums rmd160 8ee709341549a1944732daef6ebab7ef1acfcc6e \ 102 95 sha256 97b75547b2bd761306ab3e15ae297f01e7ab9760b922bc657f4ef72e4e052142 103 supported_archs i386 x86_64 96 supported_archs i386 x86_64 ppc 104 97 105 98 set makefile "Makefile-127" 106 99