Ticket #28935: ffmpeg-Portfile.0.7.1.diff
File ffmpeg-Portfile.0.7.1.diff, 1.7 KB (added by daitakahashi, 13 years ago) |
---|
-
multimedia/ffmpeg/Portfile
old new 3 3 4 4 PortSystem 1.0 5 5 PortGroup xcodeversion 1.0 6 PortGroup muniversal 1.0 6 7 7 8 name ffmpeg 8 9 conflicts ffmpeg-devel … … 103 104 104 105 #add --enable-libopenjpeg when problems with openjpeg.h are resolved 105 106 106 if {$build_arch != ""} {107 configure.args-append --arch=${build_arch}108 }109 110 107 test.run yes 111 108 112 109 # 113 110 # configure isn't autoconf and they do use a dep cache 114 111 # 115 112 116 universal_variant no 113 if { [variant_isset universal] } { 114 configure.universal_args-delete --disable-dependency-tracking 115 116 foreach arch ${universal_archs_supported} { 117 lappend merger_configure_args($arch) --arch=${arch} 118 lappend merger_configure_env($arch) ASFLAGS='-arch ${arch}' 119 } 120 } else { 121 configure.args-append --arch=${configure.build_arch} 122 configure.env-append ASFLAGS='-arch ${configure.build_arch}' 123 } 117 124 118 125 post-destroot { 119 126 file mkdir ${destroot}${prefix}/share/doc/${name} … … 123 130 } 124 131 } 125 132 126 platform darwin 10 {127 # ticket #20938 -- disable mmx for 32 bit intel only128 if { $build_arch == "i386" } {129 # swscale is no longer GPL only130 configure.args-delete --enable-swscale131 if { ![variant_isset no_mmx] } {132 configure.args-append --disable-mmx --disable-mmx2 --disable-sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext133 }134 }135 }136 137 133 platform powerpc { 138 134 # absence of altivec is not automatically detected 139 135 if {[exec sysctl -n hw.vectorunit] == 0} {