[MacPorts] #17527: ffmpeg @15261_0 fails to build on Mac OS X 10.5/PPC
MacPorts
noreply at macports.org
Sun Dec 7 06:04:22 PST 2008
#17527: ffmpeg @15261_0 fails to build on Mac OS X 10.5/PPC
-----------------------------------+----------------------------------------
Reporter: takanori@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.8.0
Keywords: ffmpeg compat(5) | Port: ffmpeg
-----------------------------------+----------------------------------------
Comment(by simon@…):
I'm sorry but I also don't have a really solution.
But disabling altivec at least fixes the problem but will cause a slowdown
I assume.
The following patch works for me on Tiger 10.4 PPC, please check if it
also works on Leopard PCC.
{{{
diff --git a/dports/multimedia/ffmpeg/Portfile
b/dports/multimedia/ffmpeg/Portfile
index f09ad68..22326b0 100644
--- a/dports/multimedia/ffmpeg/Portfile
+++ b/dports/multimedia/ffmpeg/Portfile
@@ -89,6 +89,10 @@ platform darwin i386 {
}
}
+platform darwin powerpc {
+ configure.args-append --disable-altivec
+}
+
variant mmx description {enable mmx support, experimental; does not build
in gcc-4.2 or xcode 3.0 gcc-4.0} {
# make no-mmx default and allow mmx enabling for the brave.
configure.args-delete --disable-mmx
}}}
Thanks,
Simon
--
Ticket URL: <http://trac.macports.org/ticket/17527#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list