From d0ba4a622a9e4637de243fa2e6bb6e8fa929c6a8 Mon Sep 17 00:00:00 2001 From: wiz Date: Thu, 14 Nov 2002 01:06:24 +0000 Subject: Runtime detection of CPU features only works on i386, so only enable it on i386. Fixes build problem on macppc (MMX assembler instructions don't compile to well with a powerpc-targeted gas). --- graphics/mplayer-share/Makefile.common | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics') diff --git a/graphics/mplayer-share/Makefile.common b/graphics/mplayer-share/Makefile.common index e364a1dfbf3..af565fb07b4 100644 --- a/graphics/mplayer-share/Makefile.common +++ b/graphics/mplayer-share/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.16 2002/11/13 15:25:34 wiz Exp $ +# $NetBSD: Makefile.common,v 1.17 2002/11/14 01:06:24 wiz Exp $ MPLAYER_DIST_VERSION= 0.90pre10 #PKGREVISION= 1 @@ -37,7 +37,6 @@ CONFIGURE_ARGS+= --with-extraincdir="${LOCALBASE}/include" CONFIGURE_ARGS+= --with-extralibdir="${LOCALBASE}/lib" #CONFIGURE_ARGS+= --enable-dvdread CONFIGURE_ARGS+= --disable-mpdvdkit -CONFIGURE_ARGS+= --enable-runtime-cpudetection CONFIGURE_ARGS+= --enable-faad CONFIGURE_ARGS+= --disable-arts @@ -50,6 +49,7 @@ CONFIGURE_ENV+= TMPDIR=${WRKDIR} .if ${MACHINE_ARCH} == "i386" CONFIGURE_ARGS+= --with-win32libdir="${LOCALBASE}/lib/win32" +CONFIGURE_ARGS+= --enable-runtime-cpudetection .if ${MPLAYER_USE_REALMEDIA} == "YES" CONFIGURE_ARGS+= --with-reallibdir="${LOCALBASE}/lib/RealPlayer8/Codecs" .endif -- cgit v1.2.3