Date: Fri, 7 Jan 2011 13:15:21 +0300 From: Eygene Ryabinkin <rea@freebsd.org> To: Anton Shterenlikht <mexas@bristol.ac.uk> Cc: riggs@rrr.de, freebsd-ports@freebsd.org Subject: Re: mplayer options patch Message-ID: <MKws6xL2clvIhh8rR9KC/WtQ8GE@QsmfhJNucgI88DfvPJdT1/nyboE> In-Reply-To: <20110107095816.GA64948@mech-cluster241.men.bris.ac.uk> References: <20110107095816.GA64948@mech-cluster241.men.bris.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
--VYvi4N5CyHZx5xNE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Fri, Jan 07, 2011 at 09:58:17AM +0000, Anton Shterenlikht wrote: > Error: Runtime CPU detection only works for x86, x86-64 and PPC! >=20 > Here's a patch: >=20 > --- 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" > =20 > OPTIONS=3D DEBUG "Include debug symbols in mplayer's binaries" off > -OPTIONS+=3D RTCPU "Allow runtime CPU detection" on > +OPTIONS+=3D RTCPU "Allow runtime CPU detection" off > OPTIONS+=3D OCFLAGS "Use optimized compiler flags" on > OPTIONS+=3D IPV6 "Include inet6 network support" on > OPTIONS+=3D X11 "Enable X11 support for mplayer's video output" on >=20 > It would be better to make it conditional on ARCH, but > I don't know how to do it. Please, try the following snippet: {{{ =2Eif ${ARCH} =3D=3D "i386" || ${ARCH} =3D=3D "amd64" || ${ARCH} =3D=3D "po= werpc" OPTIONS+=3D RTCPU "Allow runtime CPU detection" on =2Eelse OPTIONS+=3D RTCPU "Allow runtime CPU detection" off =2Eendif }}} --=20 Eygene Ryabinkin ,,,^..^,,, [ Life's unfair - but root password helps! | codelabs.ru ] [ 82FE 06BC D497 C0DE 49EC 4FF0 16AF 9EAE 8152 ECFB | freebsd.org ] --VYvi4N5CyHZx5xNE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iF4EAREIAAYFAk0m57kACgkQFq+eroFS7PvrRwD8DjwBCfRVG68PHY62ZzgzMICZ bOBsFIh23Gx5HT0VnacA/1/MCadIc9fmI+7wKsTRxl6c/sFhU2VoMiTDBXYUQeaj =lWYf -----END PGP SIGNATURE----- --VYvi4N5CyHZx5xNE--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MKws6xL2clvIhh8rR9KC/WtQ8GE>