--- Makefile 2010-12-02 09:18:00.000000000 +0000 +++ Makefile.new 2011-01-07 11:16:56.000000000 +0000 @@ -13,7 +13,6 @@ .include "${.CURDIR}/Makefile.shared" OPTIONS= DEBUG "Include debug symbols in mplayer's binaries" off -OPTIONS+= RTCPU "Allow runtime CPU detection" on 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 @@ -75,6 +74,12 @@ BROKEN= Does not compile on sparc64 .endif +.if ${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "powerpc" +OPTIONS+= RTCPU "Allow runtime CPU detection" on +.else +OPTIONS+= RTCPU "Allow runtime CPU detection" off +.endif + CONFIGURE_ARGS+= --disable-ssse3 \ --disable-directfb \ --disable-faac \