Ticket #46519: ppc.patch

File ppc.patch, 1.4 KB (added by jeremyhu (Jeremy Huddleston Sequoia), 10 years ago)
  • Portfile

     
    3434    } elseif {${os.major} >= 9} {
    3535        default_variants +llvm34
    3636    }
    37 
    38     # Leopard/powerpc has the option to not be LTO
    39     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     }
    4337}
    4438
    4539variant universal {}
     
    8074    configure.cppflags-append -I${prefix}/Developer/SDKs/Darwin${os.major}.sdk/usr/include
    8175}
    8276
    83 if {${os.arch} eq "powerpc" || ${os.major} < 9} {
     77if {${os.major} < 9} {
    8478    # XCode 3.2.6
    85     # 127.2 should work for powerpc, but it will require some build fixes.
    8679    version             97.17
    8780    revision            4
    8881    checksums           rmd160  d52df7d7f741c8bedd29cbac73dbb9db992b4795 \
     
    10093    revision            8
    10194    checksums           rmd160  8ee709341549a1944732daef6ebab7ef1acfcc6e \
    10295                        sha256  97b75547b2bd761306ab3e15ae297f01e7ab9760b922bc657f4ef72e4e052142
    103     supported_archs     i386 x86_64
     96    supported_archs     i386 x86_64 ppc
    10497
    10598    set makefile        "Makefile-127"
    10699