mplayer fails on ia64 portscluster:

Error: Runtime CPU detection only works for x86, x86-64 and PPC!

Here's a patch:

--- Makefile    2010-12-03 03:38:31.000000000 +0000
+++ Makefile.new        2011-01-07 09:38:50.000000000 +0000
@@ -13,7 +13,7 @@
 .include "${.CURDIR}/Makefile.shared"
 
 OPTIONS=       DEBUG "Include debug symbols in mplayer's binaries" off
-OPTIONS+=      RTCPU "Allow runtime CPU detection" on
+OPTIONS+=      RTCPU "Allow runtime CPU detection" off
 OPTIONS+=      OCFLAGS "Use optimized compiler flags" on
 OPTIONS+=      IPV6 "Include inet6 network support" on
 OPTIONS+=      X11 "Enable X11 support for mplayer's video output" on

It would be better to make it conditional on ARCH, but
I don't know how to do it.


-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to