[MacPorts] #20938: ffmpeg/ffmpeg-devel fails to build on 10.6
MacPorts
noreply at macports.org
Fri Oct 9 13:31:28 PDT 2009
#20938: ffmpeg/ffmpeg-devel fails to build on 10.6
-------------------------------+--------------------------------------------
Reporter: gonhidi@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: snow-leopard | Port: ffmpeg ffmpeg-devel
-------------------------------+--------------------------------------------
Comment(by gonhidi@…):
Replying to [comment:27 bmishkin@…]:
> Above patch adds cflag '-mdynamic-no-pic' for darwin/i386.
Given that the rest of the code inside the i386 condition is the
workaround that your suggestion (thank you!) fixes (it now builds file), I
think that the patch should look something like
{{{
depends_lib-append path:lib/pkgconfig/sdl.pc:libsdl-devel
# ticket #20938 -- disable mmx for 32 bit intel only
if { $build_arch == "i386" } {
- if { ![variant_isset no_gpl] } {
- configure.args-delete --enable-swscale
- }
- if { ![variant_isset no_mmx] } {
- configure.args-append --disable-mmx --disable-mmx2 --disable-
sse --disable-ssse3 --disable-amd3dnow --disable-amd3dnowext
- }
+ configure.cflags-append -mdynamic-no-pic
}
}
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20938#comment:28>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list