ports/153776: [patch] multimedia/mplayer - disabling RTCPU on non-{i386, amd64, powerpc}

Anton Shterenlikht mexas at bristol.ac.uk
Fri Jan 7 21:00:14 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list