Ticket #20938: ffmpeg-devel-portfile-i386-no-mmx.diff
File ffmpeg-devel-portfile-i386-no-mmx.diff, 1.2 KB (added by dave@…, 15 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name ffmpeg-devel 7 set svn_rev 197 238 set swscale_rev 29 5487 set svn_rev 19787 8 set swscale_rev 29652 9 9 version ${svn_rev} 10 10 categories multimedia 11 11 maintainers devans openmaintainer … … 141 141 depends_lib-delete path:lib/pkgconfig/sdl.pc:libsdl 142 142 depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel 143 143 # ticket #20938 144 if { ![variant_isset no_gpl] } { 145 configure.args-delete --enable-swscale 144 if { [info exists build_arch] && $build_arch == "i386" } { 145 if { ![variant_isset no_gpl] } { 146 configure.args-delete --enable-swscale 147 } 148 if { ![variant_isset no_mmx] } { 149 configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext 150 } 146 151 } 147 if { ![variant_isset no_mmx] } {148 configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext149 }150 152 } 151 153 152 154 variant no_mmx description {disable all x86 asm optimizations} {