Ignore:
Timestamp:
Nov 4, 2012, 7:46:46 PM (7 years ago)
Author:
jeremyhu@…
Message:

ffmpeg*: Build fix for Tiger (#36877)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/ffmpeg/Portfile

    r99287 r99418  
    8080
    8181#
    82 # enable auto configure of mmx and related Intel optimizations by default
     82# enable auto configure of asm optimizations
    8383# requires Xcode 3.1 or better on Leopard
    8484#
    8585minimum_xcodeversions {9 3.1}
    8686
    87 # And similarly, disable mmx on Tiger
     87# And similarly, disable asm on Tiger
    8888platform darwin {
    8989    if {${os.major} < 9} {
    90         default_variants -mmx
    91     } else {
    92         default_variants +mmx
     90        configure.args-append --disable-asm
    9391    }
    9492}
     
    110108        --enable-libvpx \
    111109        --enable-libspeex \
    112         --disable-mmx \
    113         --disable-mmx2 \
    114         --disable-sse \
    115         --disable-ssse3 \
    116         --disable-amd3dnow \
    117         --disable-amd3dnowext \
    118110        --mandir=${prefix}/share/man \
    119111        --enable-shared --enable-pthreads \
     
    168160        configure.args-append --enable-yasm
    169161    }
    170 }
    171 
    172 variant mmx description {enable all supported x86 asm optimizations} {
    173     configure.args-delete --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
    174162}
    175163
Note: See TracChangeset for help on using the changeset viewer.