Ticket #41143: PortFile-ffmpeg.diff

File PortFile-ffmpeg.diff, 1.3 KB (added by ultrajoe@…, 10 years ago)

Success''' The order is important. This is the revised patch file for r112868 to make it work under Tiger!

  • Portfile

    old new  
    9292    compiler.blacklist-append {clang < 422.1.7} macports-clang-3.1
    9393}
    9494
    95 # And similarly, disable asm on Tiger
    96 # libblueray doesn't build on Tiger so disable for now (#39442)
    97 platform darwin {
    98     if {${os.major} < 9} {
    99         depends_lib-delete    port:libbluray
    100         configure.args-delete --enable-libbluray
    101         configure.args-append --disable-libbluray
    102         configure.args-append --disable-asm
    103     }
    104 }
    105 
    10695# The old ffmpeg port was GPL-2+ as base and had a no_gpl variant, so this keeps us consistent
    10796# Also, -gpl2 causes other ports to fail to build due to the missing libpostproc (#35473)
    10897default_variants-append +gpl2
     
    145134    }
    146135}
    147136
     137# Disable asm on Tiger
     138# libblueray doesn't build on Tiger so disable for now (#39442)
     139platform darwin {
     140    if {${os.major} < 9} {
     141        depends_lib-delete    port:libbluray
     142        configure.args-delete --enable-libbluray
     143        configure.args-append --disable-libbluray
     144        configure.args-append --disable-asm
     145    }
     146}
     147
    148148platform powerpc {
    149149    # absence of altivec is not automatically detected
    150150    if {[catch {sysctl hw.vectorunit} result] || $result == 0} {