Date: Fri, 7 Jan 2011 20:35:22 GMT From: Anton Shterenlikht <mexas@bristol.ac.uk> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/153776: [patch] multimedia/mplayer - disabling RTCPU on non-{i386, amd64, powerpc} Message-ID: <201101072035.p07KZMvE029587@mech-cluster241.men.bris.ac.uk> Resent-Message-ID: <201101072100.p07L0Dmi088451@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 153776 >Category: ports >Synopsis: [patch] multimedia/mplayer - disabling RTCPU on non-{i386,amd64,powerpc} >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Fri Jan 07 21:00:12 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anton Shterenlikht >Release: FreeBSD 9.0-CURRENT ia64 >Organization: University of Bristol, UK >Environment: System: FreeBSD mech-cluster241.men.bris.ac.uk 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r216732: Mon Dec 27 13:22:47 GMT 2010 root@mech-cluster241.men.bris.ac.uk:/usr/obj/usr/src/sys/TZAV ia64 >Description: multimedia/mplayer fails on ia64 portscluster nodes because default options include RTCPU, which is not supported on ia64. See also http://pointyhat.freebsd.org/errorlogs/ia64-errorlogs/e.8.20101230091827/mplayer-1.0.r20101106.log >How-To-Repeat: Try to build with default options set on ia64. >Fix: --- mplayer_ia64_makefile.diff begins here --- --- 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 \ --- mplayer_ia64_makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101072035.p07KZMvE029587>