Ticket #41143: PortFile-ffmpeg.diff
File PortFile-ffmpeg.diff, 1.3 KB (added by ultrajoe@…, 11 years ago) |
---|
-
Portfile
old new 92 92 compiler.blacklist-append {clang < 422.1.7} macports-clang-3.1 93 93 } 94 94 95 # And similarly, disable asm on Tiger96 # libblueray doesn't build on Tiger so disable for now (#39442)97 platform darwin {98 if {${os.major} < 9} {99 depends_lib-delete port:libbluray100 configure.args-delete --enable-libbluray101 configure.args-append --disable-libbluray102 configure.args-append --disable-asm103 }104 }105 106 95 # The old ffmpeg port was GPL-2+ as base and had a no_gpl variant, so this keeps us consistent 107 96 # Also, -gpl2 causes other ports to fail to build due to the missing libpostproc (#35473) 108 97 default_variants-append +gpl2 … … 145 134 } 146 135 } 147 136 137 # Disable asm on Tiger 138 # libblueray doesn't build on Tiger so disable for now (#39442) 139 platform 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 148 148 platform powerpc { 149 149 # absence of altivec is not automatically detected 150 150 if {[catch {sysctl hw.vectorunit} result] || $result == 0} {